Revision db96a95c
Added by Renato Botelho almost 10 years ago
src/usr/local/sbin/pfSense-upgrade | ||
---|---|---|
195 | 195 |
_exec "pkg upgrade ${kernel_pkg}" "Upgrading ${product} kernel" |
196 | 196 |
touch ${upgrade_in_progress} |
197 | 197 |
_echo "Rebooting..." |
198 |
/etc/rc.reboot |
|
198 |
/etc/rc.reboot & |
|
199 |
_exit 0 |
|
199 | 200 |
fi |
200 | 201 |
} |
201 | 202 |
|
... | ... | |
260 | 261 |
|
261 | 262 |
if [ -n "${need_reboot}" ]; then |
262 | 263 |
_echo "Rebooting..." |
263 |
/etc/rc.reboot |
|
264 |
/etc/rc.reboot & |
|
265 |
_exit 0 |
|
264 | 266 |
fi |
265 | 267 |
} |
266 | 268 |
|
Also available in: Unified diff
Call /etc/rc.reboot in bg and exit just after that