Commit abaee7e3 authored by Nico Schottelius's avatar Nico Schottelius

add force option

Signed-off-by: default avatarNico Schottelius <nico@ikn.schottelius.org>
parent b99e5f9c
...@@ -38,5 +38,9 @@ alias net-pf-31 off ...@@ -38,5 +38,9 @@ alias net-pf-31 off
eof eof
echo "You have to reboot your system (press enter to do so)" echo "You have to reboot your system (press enter to do so)"
read rebootme
# reboot directly, if there's -f
if [ "$1" != "-f" ]; then
read rebootme
fi
reboot reboot
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