#!/bin/sh PREREQ="" DESCRIPTION="Configuring client-preseed..." PRESEED_DIR="/root/etc/" PRESEED_FILE="/root/etc/lliurex.seed" prereqs() { echo "$PREREQ" } case $1 in # get pre-requisites prereqs) prereqs exit 0 ;; esac . /scripts/casper-functions log_begin_msg "$DESCRIPTION" # If directory is not present, create it! [ -d "$PRESEED_DIR" ] || mkdir -p "$PRESEED_DIR" # Create file wit cateof technology cat > $PRESEED_FILE <