add force option
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
This commit is contained in:
parent
b99e5f9c7a
commit
abaee7e327
1 changed files with 5 additions and 1 deletions
|
@ -38,5 +38,9 @@ alias net-pf-31 off
|
|||
eof
|
||||
|
||||
echo "You have to reboot your system (press enter to do so)"
|
||||
|
||||
# reboot directly, if there's -f
|
||||
if [ "$1" != "-f" ]; then
|
||||
read rebootme
|
||||
fi
|
||||
reboot
|
||||
|
|
Loading…
Reference in a new issue