diff options
author | Dirk von Suchodoletz | 2006-04-02 15:34:34 +0200 |
---|---|---|
committer | Dirk von Suchodoletz | 2006-04-02 15:34:34 +0200 |
commit | 168b7d2b667cdd04c8de5f6df51837cc409091f5 (patch) | |
tree | 30105f9c44b53b109304cf1c6300b10e90401edf /initrd/distro-specs/gentoo | |
parent | Better information about the Monitors capabilities (inclusion of 1400x1050 Mo... (diff) | |
download | core-168b7d2b667cdd04c8de5f6df51837cc409091f5.tar.gz core-168b7d2b667cdd04c8de5f6df51837cc409091f5.tar.xz core-168b7d2b667cdd04c8de5f6df51837cc409091f5.zip |
put error/info messages to a separat file (base for later localization
...)
git-svn-id: http://svn.openslx.org/svn/openslx/ld4@140 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initrd/distro-specs/gentoo')
-rw-r--r-- | initrd/distro-specs/gentoo/functions-2005.1 | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/initrd/distro-specs/gentoo/functions-2005.1 b/initrd/distro-specs/gentoo/functions-2005.1 index c28eccae..9408122e 100644 --- a/initrd/distro-specs/gentoo/functions-2005.1 +++ b/initrd/distro-specs/gentoo/functions-2005.1 @@ -2,11 +2,11 @@ # linux diskless clients (executed within initial # ramdisk after genconfig) # -# Author(s): Dirk von Suchodoletz <dirk@goe.net>, 31-03-2006 +# Author(s): Dirk von Suchodoletz <dirk@goe.net>, 02-04-2006 # # Copyright: (c) 2006 - RZ Universitaet Freiburg # -# Version: 0.0.1d +# Version: 0.0.2a # distro specific stuff to initialize preinit () { @@ -37,8 +37,7 @@ if [ -x /bin/udevd ] ; then export UDEVD_EVENT_TIMEOUT=1 echo "" > /proc/sys/kernel/hotplug udevd & -else error " udev daemon is not available. Some devices might not \ -apprear." nonfatal +else error $df_errudev nonfatal fi } @@ -116,8 +115,7 @@ if [ "x$start_cron" = "xyes" ] ; then if [ -f /mnt/etc/init.d/cron ] ; then : 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 } @@ -128,8 +126,7 @@ if [ "x$start_syslog" = "xyes" ] ; then if [ -f /mnt/etc/init.d/syslog-ng ] ; then rllinker syslog-ng 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 +137,7 @@ if [ "x$start_sshd" = "xyes" ] ; then if [ -f /mnt/etc/init.d/sshd ] ; then rllinker "sshd" 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 } @@ -244,7 +240,7 @@ variable \${automnt_dir} appropriately in\n machine-setup file." nonfatal config_portmap fi else - error " Automounter seems not to be installed" nonfatal + error $df_erramnt nonfatal fi } |