summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Bingner <sam@bingner.com>2019-02-04 16:12:29 -1000
committerSam Bingner <sam@bingner.com>2019-02-04 16:12:29 -1000
commit38e4c2faf97a8c18352488bea19015b79efe36e8 (patch)
tree1e8c0a28fec4742959f6e7483b2862aac007c883
parent08ba0a1c6b2c92545098a13d30c784db01aa56d1 (diff)
Move reboot so that it doesn't cause problems when not jailbroken
-rw-r--r--data/system-cmds/make.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/data/system-cmds/make.sh b/data/system-cmds/make.sh
index 5c7094bee..c692d280c 100644
--- a/data/system-cmds/make.sh
+++ b/data/system-cmds/make.sh
@@ -41,13 +41,13 @@ chmod u+s passwd login
pkg: mkdir -p /bin /sbin /usr/bin /usr/sbin
-pkg: cp -a nologin /usr/sbin
+pkg: cp -a reboot nologin /usr/sbin
pkg: cp -a pagesize.tproj/pagesize.sh /usr/bin/pagesize
pkg: chmod a+x /usr/bin/pagesize
pkg: cp -a sync /bin
-pkg: cp -a dmesg dynamic_pager reboot /sbin
-pkg: ln -s reboot /sbin/halt
+pkg: cp -a dmesg dynamic_pager /sbin
+pkg: ln -s ../usr/sbin/reboot /sbin/halt
pkg: cp -a arch getconf getty hostinfo login passwd /usr/bin
pkg: ln -s chpass /usr/bin/chfn
pkg: ln -s chpass /usr/bin/chsh