Skip to content

Commit

Permalink
Do not call reboot, use /etc/rc.reboot instead
Browse files Browse the repository at this point in the history
  • Loading branch information
rbgarga committed Sep 14, 2015
1 parent f3fff72 commit 5ec643e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/usr/local/sbin/pfsense-upgrade.sh
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ first_step() {
_exec "pkg upgrade ${kernel_pkg}" "Upgrading pfSense kernel"
touch ${upgrade_in_progress}
_echo "Rebooting..."
reboot
/etc/rc.reboot
fi
}

Expand Down Expand Up @@ -259,7 +259,7 @@ second_step

if [ -n "${need_reboot}" ]; then
_echo "Rebooting..."
reboot
/etc/rc.reboot
fi

exit 0

0 comments on commit 5ec643e

Please sign in to comment.