diff options
Diffstat (limited to 'initrd/distro-specs/suse/functions-9.3')
-rw-r--r-- | initrd/distro-specs/suse/functions-9.3 | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/initrd/distro-specs/suse/functions-9.3 b/initrd/distro-specs/suse/functions-9.3 index f08517b6..1b58c332 100644 --- a/initrd/distro-specs/suse/functions-9.3 +++ b/initrd/distro-specs/suse/functions-9.3 @@ -4,11 +4,11 @@ # functions file). This file is the main base for the # following SuSE distributions # -# Author(s): Dirk von Suchodoletz <dirk@goe.net>, 30-03-2006 +# Author(s): Dirk von Suchodoletz <dirk@goe.net>, 02-04-2006 # # Copyright: (c) 2006 - RZ Universitaet Freiburg # -# Version: 0.2.1e +# Version: 0.2.2a # distro specific stuff to initialize preinit () { @@ -107,8 +107,7 @@ if [ "x$start_cron" = "xyes" ] ; then \nMAILTO=\n-*/15 * * * *\troot\ttest -x /usr/lib/cron/run-crons && \ /usr/lib/cron/run-crons >/dev/null 2>&1\n" >/mnt/etc/crontab else - error " The cron start script seems not to be installed, so requesting \ -\n the start of cron services make no sense." nonfatal + error $df_errcron nonfatal fi fi } @@ -126,8 +125,7 @@ if [ "x$start_syslog" = "xyes" ] ; then cp /etc/syslog-ng.conf /mnt/etc/syslog-ng/syslog-ng.conf rllinker syslog "02" "20" else - error " The syslog start script does not seem to be installed, so \ -requesting\n the start of service does not make much sense." nonfatal + error $df_errsysl nonfatal fi fi } @@ -140,8 +138,7 @@ if [ "x$start_sshd" = "xyes" ] ; then testmkd /mnt/var/lib/empty rllinker "sshd" "12" "10" else - error " The sshd start script does not seem to be installed, so \ -requesting\n the start of service does not make much sense." nonfatal + error $df_errsshd nonfatal fi fi } @@ -303,7 +300,6 @@ fi # configure gdm as display manager config_kdm () { config_dm_entry yes - } # configure bluetooth services @@ -384,9 +380,7 @@ if [ -f /mnt/etc/sysconfig/autofs ] ; then if [ -n "${automnt_src}" ] ; then # local directory and home directory server from machine-setup [ -z "${automnt_dir}" ] && automnt_dir="/home" - strinstr "/" "${automnt_dir}" && error " Only toplevel directories \ -are allowed as mount points for user home\n directories. Please set the \ -variable \${automnt_dir} appropriately in\n machine-setup file." nonfatal + strinstr "/" "${automnt_dir}" && error $df_erratpld nonfatal automnt_dir=${automnt_dir#/} echo -e "/home\t/etc/auto.${automnt_dir}\n" >> /mnt/etc/auto.master echo -e "# /etc/auto.${automnt_dir} created by $0:\n" \ |