summaryrefslogtreecommitdiff
path: root/update-me.in
diff options
context:
space:
mode:
Diffstat (limited to 'update-me.in')
-rw-r--r--update-me.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/update-me.in b/update-me.in
index 2346122..1df456d 100644
--- a/update-me.in
+++ b/update-me.in
@@ -13,7 +13,7 @@ for mp in '/' '/boot'; do
| grep -qwF 'ro' || continue
[ "${mp}" = '/boot' ] && [ -d '#ETCDIR#/ports' ] && continue
preCmds+=('mount -o remount,rw '"${mp}")
- postCmds+=('mount -o remount,ro '"${mp}")
+ postCmds+=('mount -o remount,ro '"${mp}"' || reboot')
done
if command -v check-kernel >/dev/null; then