add force option

Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
This commit is contained in:
Nico Schottelius 2009-08-14 14:08:50 +02:00
parent b99e5f9c7a
commit abaee7e327
1 changed files with 5 additions and 1 deletions

View File

@ -38,5 +38,9 @@ alias net-pf-31 off
eof
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