#!/bin/bash #must be startet after mountfs_livecd #%rlevels: 7:s #%start: 41 #%stop: #deps #%needs: #%before: #%after: source /etc/sysconfig/rc source $rc_functions if [ -e /.bootdev ] then source /.bootdev else echo "Couldn't find /.bootdev. Aborting." exit 1 fi settings_import() { if [ "${FSTYPE}" == "vfat" ] then if [ -e /mnt/cdrom/settings/system ] then echo -e ${COLOREDSTAR}"Importing old alx-settings ..." ( cp -R /mnt/cdrom/settings/system/* /etc/alx-config/settings/menu && source /etc/alx-config/config.rc && source /opt/alx-config/Configurator/config_functions.sh && setup_xfree > /dev/null 2>&1 && setup_modules > /dev/null 2>&1 && setup_network > /dev/null 2>&1 && #setup_printers > /dev/null 2>&1 && setup_sessions > /dev/null 2>&1 && touch /etc/alx-config/imported ) evaluate_retval fi fi } case $1 in start) settings_import update_svcstatus $1 splash svc_started "$(basename $0)" 0 ;; *) echo "Usage: $0 {start} ..." ;; esac