summaryrefslogtreecommitdiff
path: root/debian/hurd.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/hurd.postinst')
-rw-r--r--debian/hurd.postinst4
1 files changed, 3 insertions, 1 deletions
diff --git a/debian/hurd.postinst b/debian/hurd.postinst
index 8f79961d..4a552ddf 100644
--- a/debian/hurd.postinst
+++ b/debian/hurd.postinst
@@ -8,7 +8,9 @@ if [ "$1" = configure ] && [ "$2" ]; then
--remove runsystem /libexec/runsystem.gnu
fi
update-alternatives --quiet \
- --install /etc/hurd/runsystem runsystem /etc/hurd/runsystem.gnu 20
+ --install /etc/hurd/runsystem runsystem /etc/hurd/runsystem.gnu 20 \
+ --slave /sbin/halt halt /sbin/halt-hurd \
+ --slave /sbin/reboot reboot /sbin/reboot-hurd
update-alternatives \
--install /usr/bin/fakeroot fakeroot /usr/bin/fakeroot-hurd 30