diff options
author | Paul Barker <paul@paulbarker.me.uk> | 2015-04-04 11:58:06 -0500 |
---|---|---|
committer | Paul Barker <paul@paulbarker.me.uk> | 2015-04-04 11:58:06 -0500 |
commit | 1dd3704c5ffea926f61a96bb7de7d9dbee52fa44 (patch) | |
tree | 96a1882a18c5a1d3be1b06657697207d44c2622a /toys/other/reboot.c | |
parent | 08089370c99af7a38d8896c4aa18c6b4bbd5ffc7 (diff) | |
download | toybox-1dd3704c5ffea926f61a96bb7de7d9dbee52fa44.tar.gz |
To ensure that toybox can be installed alongside busybox without
confusing update-alternatives, the paths of the links installed by toybox should
match those installed by busybox. This is accomplished by changing the flags
of a few tools within toybox.
Diffstat (limited to 'toys/other/reboot.c')
-rw-r--r-- | toys/other/reboot.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/toys/other/reboot.c b/toys/other/reboot.c index 8baa4d8a..a1358886 100644 --- a/toys/other/reboot.c +++ b/toys/other/reboot.c @@ -2,9 +2,9 @@ * * Copyright 2013 Elie De Brauwer <eliedebrauwer@gmail.com> -USE_REBOOT(NEWTOY(reboot, "n", TOYFLAG_BIN|TOYFLAG_NEEDROOT)) -USE_REBOOT(OLDTOY(halt, reboot, TOYFLAG_BIN|TOYFLAG_NEEDROOT)) -USE_REBOOT(OLDTOY(poweroff, reboot, TOYFLAG_BIN|TOYFLAG_NEEDROOT)) +USE_REBOOT(NEWTOY(reboot, "n", TOYFLAG_SBIN|TOYFLAG_NEEDROOT)) +USE_REBOOT(OLDTOY(halt, reboot, TOYFLAG_SBIN|TOYFLAG_NEEDROOT)) +USE_REBOOT(OLDTOY(poweroff, reboot, TOYFLAG_SBIN|TOYFLAG_NEEDROOT)) config REBOOT bool "reboot" |