diff options
author | Nico Dietrich | 2006-04-05 13:33:29 +0200 |
---|---|---|
committer | Nico Dietrich | 2006-04-05 13:33:29 +0200 |
commit | a31ad179cdab056da75846cc3e72c905d0eb2477 (patch) | |
tree | 55e4fa533579a2b0a947626e6769f62bda36d87c /initrd | |
parent | now do really fix it!! (diff) | |
download | core-a31ad179cdab056da75846cc3e72c905d0eb2477.tar.gz core-a31ad179cdab056da75846cc3e72c905d0eb2477.tar.xz core-a31ad179cdab056da75846cc3e72c905d0eb2477.zip |
fix initscripts in ubuntu
git-svn-id: http://svn.openslx.org/svn/openslx/ld4@164 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initrd')
-rw-r--r-- | initrd/distro-specs/ubuntu/functions-5.10 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/initrd/distro-specs/ubuntu/functions-5.10 b/initrd/distro-specs/ubuntu/functions-5.10 index c4bf6845..951a836a 100644 --- a/initrd/distro-specs/ubuntu/functions-5.10 +++ b/initrd/distro-specs/ubuntu/functions-5.10 @@ -72,11 +72,11 @@ local stop="$3" # passed via configuration for i in rc2.d/K$stop$script rc3.d/K$stop$script \ rc2.d/S$start$script rc3.d/S$start$script ; do - if ! [ -f ../$script ]; then + if ! [ -f /mnt/etc/init.d/$script ]; then echo "Target `pwd`../$script does not exist. Skipping links" break else - ln -sf ../$script /mnt/etc/init.d/$i + ln -sf ../init.d/$script /mnt/etc/$i echo "Linked $script" fi done @@ -138,7 +138,7 @@ fi config_sshd () { if [ "x$start_sshd" = "xyes" ] ; then if [ -f /mnt/etc/init.d/ssh ] ; then - rllinker "sshd" "12" "10" + rllinker "ssh" "12" "10" fi fi } |