summaryrefslogtreecommitdiffstats
path: root/initrd
diff options
context:
space:
mode:
Diffstat (limited to 'initrd')
-rw-r--r--initrd/distro-specs/ubuntu/functions-5.104
1 files changed, 2 insertions, 2 deletions
diff --git a/initrd/distro-specs/ubuntu/functions-5.10 b/initrd/distro-specs/ubuntu/functions-5.10
index 7282e302..4f96dc24 100644
--- a/initrd/distro-specs/ubuntu/functions-5.10
+++ b/initrd/distro-specs/ubuntu/functions-5.10
@@ -27,8 +27,8 @@ postinit () {
# distro specific function called from servconfig script
config_distro () {
# add the halt link to the 0 and 6 runlevel directories
- ln -sf ../halt /mnt/etc/rc0.d/S90halt
- ln -sf ../reboot /mnt/etc/rc6.d/S90reboot
+ ln -sf ../init.d/halt /mnt/etc/rc0.d/S90halt
+ ln -sf ../init.d/reboot /mnt/etc/rc6.d/S90reboot
# set default runlevel
sed -e "s/.*initdefault/id:${D_INITDEFAULT}:initdefault/" -i /mnt/etc/inittab