From a31ad179cdab056da75846cc3e72c905d0eb2477 Mon Sep 17 00:00:00 2001 From: Nico Dietrich Date: Wed, 5 Apr 2006 11:33:29 +0000 Subject: fix initscripts in ubuntu git-svn-id: http://svn.openslx.org/svn/openslx/ld4@164 95ad53e4-c205-0410-b2fa-d234c58c8868 --- initrd/distro-specs/ubuntu/functions-5.10 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'initrd') 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 } -- cgit v1.2.3-55-g7522