summaryrefslogtreecommitdiff
path: root/debian/hurd.postinst
diff options
context:
space:
mode:
authorPino Toscano <pino@debian.org>2012-02-01 17:37:12 +0100
committerPino Toscano <pino@debian.org>2012-02-01 17:37:12 +0100
commitd4e6a14eb3fad1b43a21214db139db441025baf5 (patch)
treee6274eec209e42bec3793b55f73e8707fc920e38 /debian/hurd.postinst
parent09218a5407f3d9cf04b69f8eccdad5a1e0fbda99 (diff)
rename {halt,reboot} to {halt,reboot}-hurd
... and handle them as slaves of the runsystem alternative.
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