From abaee7e3278d567d6749673527dc254fbe08df3b Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Fri, 14 Aug 2009 14:08:50 +0200 Subject: [PATCH] add force option Signed-off-by: Nico Schottelius --- linux/workaround_CVE-2009-2692.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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