Commit 2d2df026 authored by Franco Fichtner's avatar Franco Fichtner

rc: use blocking reboot here, no need for extra output

parent 6855a212
......@@ -236,9 +236,8 @@ echo "done."
# Perform major updates
for STAGE in B P; do
if opnsense-update -${STAGE}; then
echo "Performed deferred update, rebooting now"
# ideally reroot with `-r', but panics on ZFS
shutdown -or now
reboot
fi
done
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment