diff options
Diffstat (limited to 'src/initramfs/distro-specs/suse')
-rw-r--r-- | src/initramfs/distro-specs/suse/functions-12.1 | 28 | ||||
-rw-r--r-- | src/initramfs/distro-specs/suse/functions-default | 6 |
2 files changed, 27 insertions, 7 deletions
diff --git a/src/initramfs/distro-specs/suse/functions-12.1 b/src/initramfs/distro-specs/suse/functions-12.1 index 756ef536..2e6b064a 100644 --- a/src/initramfs/distro-specs/suse/functions-12.1 +++ b/src/initramfs/distro-specs/suse/functions-12.1 @@ -25,7 +25,7 @@ # distro specific function called from servconfig script config_distro () { # clean the runlevel directories which will be populated by the stage3 setup -rm -rf /mnt/etc/init.d* +[ -e /mnt/etc/init.d ] && rm -rf /mnt/etc/init.d touch /mnt/var/log/btmp touch /mnt/var/log/lastlog SERVICES="systemd-hostnamed.service dbus-org.freedesktop.hostname1.service \ @@ -130,3 +130,29 @@ if [ -e /mnt/etc/init.d/ntp ] ; then fi } +#TODO: reimplement scripts with systemd +config_cron () { + echo "config_cron is not yet implemented for suse 12.1" +} + +config_nscd () { + echo "config_nscd is not yet implemented for suse 12.1" +} + +config_sshd () { + echo "config_sshd is not yet implemented for suse 12.1" +} + +config_snmp () { + echo "config_snmp is not yet implemented for suse 12.1" +} + +config_nis () { + echo "config_nis is not yet implemented for suse 12.1" +} + +d_mkrlscript () { + echo "d_mkrlscript is not yet implemented for suse 12.1" +} + + diff --git a/src/initramfs/distro-specs/suse/functions-default b/src/initramfs/distro-specs/suse/functions-default index d763db90..82ccd5b1 100644 --- a/src/initramfs/distro-specs/suse/functions-default +++ b/src/initramfs/distro-specs/suse/functions-default @@ -399,12 +399,6 @@ if [ "x$start_cron" = "xyes" ] ; then fi fi } -# name service caching daemon (useful in most cases) -config_nscd () { - if [ -f /mnt/etc/init.d/nscd ] ; then - rllinker "nscd" 20 5 - fi -} # secure shell service config_sshd () { if [ "x$start_sshd" = "xyes" ] ; then |