diff --git a/linux/workaround_CVE-2009-2692.sh b/linux/workaround_CVE-2009-2692.sh index 2b4dbf4..26f7e4c 100755 --- a/linux/workaround_CVE-2009-2692.sh +++ b/linux/workaround_CVE-2009-2692.sh @@ -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