diff options
Diffstat (limited to 'initrd')
-rw-r--r-- | initrd/distro-specs/debian/functions-3.1 | 3 | ||||
-rw-r--r-- | initrd/distro-specs/ubuntu/functions-5.10 | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/initrd/distro-specs/debian/functions-3.1 b/initrd/distro-specs/debian/functions-3.1 index 71914973..f317af38 100644 --- a/initrd/distro-specs/debian/functions-3.1 +++ b/initrd/distro-specs/debian/functions-3.1 @@ -106,8 +106,7 @@ fi # secure shell service config_sshd () { if [ "x$start_sshd" = "xyes" ] ; then - if [ -f /mnt/etc/init.d/sshd ] ; then - testmkd /mnt/var/lib/sshd; testmkd /mnt/var/lib/empty + if [ -f /mnt/etc/init.d/ssh ] ; then rllinker "sshd" "$1" "$2" fi fi diff --git a/initrd/distro-specs/ubuntu/functions-5.10 b/initrd/distro-specs/ubuntu/functions-5.10 index 75ade847..4a04a094 100644 --- a/initrd/distro-specs/ubuntu/functions-5.10 +++ b/initrd/distro-specs/ubuntu/functions-5.10 @@ -137,8 +137,7 @@ fi # secure shell service config_sshd () { if [ "x$start_sshd" = "xyes" ] ; then - if [ -f /mnt/etc/init.d/sshd ] ; then - testmkd /mnt/var/lib/sshd; testmkd /mnt/var/lib/empty + if [ -f /mnt/etc/init.d/ssh ] ; then rllinker "sshd" "12" "10" fi fi |