summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJannis Pohlmann <jannis.pohlmann@codethink.co.uk>2012-03-23 14:38:27 +0000
committerJannis Pohlmann <jannis.pohlmann@codethink.co.uk>2012-03-23 14:38:27 +0000
commitd39fb28439d1c1d0352865bb5b9dae17341c5a22 (patch)
treee71bced4b7452204f2f43754ff20a4b4757176af
parentd8f6a0cefbdef6c38606fb932e0e216e4cce1350 (diff)
downloadtbdiff-d39fb28439d1c1d0352865bb5b9dae17341c5a22.tar.gz
Call 'busybox reboot' at the end of tbdiff-update to reboot the system.
-rwxr-xr-xtbdiff-update/tbdiff-update3
1 files changed, 3 insertions, 0 deletions
diff --git a/tbdiff-update/tbdiff-update b/tbdiff-update/tbdiff-update
index 9a6860e..e6caeec 100755
--- a/tbdiff-update/tbdiff-update
+++ b/tbdiff-update/tbdiff-update
@@ -109,3 +109,6 @@ busybox sed -i -e "s,factory-run,$target_subvolume-run,g" "extlinux.conf"
# leave the root file system
cd /
+
+# reboot the system
+busybox reboot