diff options
author | Pino Toscano <pino@debian.org> | 2012-02-01 17:37:12 +0100 |
---|---|---|
committer | Pino Toscano <pino@debian.org> | 2012-02-01 17:37:12 +0100 |
commit | d4e6a14eb3fad1b43a21214db139db441025baf5 (patch) | |
tree | e6274eec209e42bec3793b55f73e8707fc920e38 /debian/hurd.postinst | |
parent | 09218a5407f3d9cf04b69f8eccdad5a1e0fbda99 (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.postinst | 4 |
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 |