summaryrefslogtreecommitdiffstats
path: root/initrd/distro-specs/ubuntu/functions-5.10
diff options
context:
space:
mode:
Diffstat (limited to 'initrd/distro-specs/ubuntu/functions-5.10')
-rw-r--r--initrd/distro-specs/ubuntu/functions-5.106
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
}