summaryrefslogtreecommitdiffstats
path: root/initramfs/distro-specs/suse/functions-default
diff options
context:
space:
mode:
Diffstat (limited to 'initramfs/distro-specs/suse/functions-default')
-rw-r--r--initramfs/distro-specs/suse/functions-default20
1 files changed, 4 insertions, 16 deletions
diff --git a/initramfs/distro-specs/suse/functions-default b/initramfs/distro-specs/suse/functions-default
index 78a55064..6c7db1f6 100644
--- a/initramfs/distro-specs/suse/functions-default
+++ b/initramfs/distro-specs/suse/functions-default
@@ -391,23 +391,11 @@ if [ "x$start_cron" = "xyes" ] ; then
fi
fi
}
-# syslog service (use syslog-ng for all versions)
-config_syslog () {
-if [ "x$start_syslog" != "xno" ] ; then
- # enable basic logging to console tty10; file logging could be enabled via
- # setting of config_syslog="file"
- start_syslog="yes"
- if [ -f /mnt/etc/init.d/syslog ] ; then
- sed -e "1i# modified in InitRamFS by $0" \
- -e "s,SYSLOG_DAEMON=.*,SYSLOG_DAEMON=\"syslog-ng\"," \
- -i /mnt/etc/sysconfig/syslog
- # logoutput depending on $start_syslog definitions
- sysngwriter /mnt/etc/syslog-ng/syslog-ng.conf
- rllinker syslog 2 20
- else
- error "$df_errsysl" nonfatal
+# name service caching daemon (useful in most cases)
+config_nscd () {
+ if [ -f /mnt/etc/init.d/nscd ] ; then
+ rllinker "nscd" 20 5
fi
-fi
}
# secure shell service
config_sshd () {