diff options
author | Nico Dietrich | 2006-04-04 22:15:23 +0200 |
---|---|---|
committer | Nico Dietrich | 2006-04-04 22:15:23 +0200 |
commit | 1389ddb87361daf516ef5384e1d71eef0ad227c7 (patch) | |
tree | 4f2ad38f23450b5233e967a0b3ca2f6e1637cb88 /initrd | |
parent | next fix (diff) | |
download | core-1389ddb87361daf516ef5384e1d71eef0ad227c7.tar.gz core-1389ddb87361daf516ef5384e1d71eef0ad227c7.tar.xz core-1389ddb87361daf516ef5384e1d71eef0ad227c7.zip |
fix ssh in debian and ubuntu
git-svn-id: http://svn.openslx.org/svn/openslx/ld4@158 95ad53e4-c205-0410-b2fa-d234c58c8868
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 |