summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-06-08 17:19:33 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-06-08 17:19:33 (EDT)
commit5a2bdbd4cd14d9294c2701924420ea5bdffc31a9 (patch)
treefb18b55e43bc09a286d3ec0bc3c233125a7bf8f5
parenta92cfe5d84940a33df8ff23c51d4b184f9ba0ad5 (diff)
miniprokit.sh: Disable services while configuring.
-rwxr-xr-xminiprokit.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/miniprokit.sh b/miniprokit.sh
index 075f21f..171a475 100755
--- a/miniprokit.sh
+++ b/miniprokit.sh
@@ -39,7 +39,9 @@ INSTALL_SERVICE=\
start()
{
log "Configuring packages"
+ printf "disabled\n" >/etc/rc.policy
opkg install $(opkg list-installed | cut -d " " -f 1)
+ printf "enabled\n" >/etc/rc.policy
rm "${SCRIPT}"
}
'