From b745b9bc8e72a3a558656963d12d151d2862901a Mon Sep 17 00:00:00 2001 From: Andrew Sichevoi Date: Thu, 6 Sep 2012 09:28:48 +0400 Subject: [PATCH] Added an command line argument for explicit running --- acpi-call-installer/install-acpi-call.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/acpi-call-installer/install-acpi-call.sh b/acpi-call-installer/install-acpi-call.sh index 086b262..ed5d5df 100755 --- a/acpi-call-installer/install-acpi-call.sh +++ b/acpi-call-installer/install-acpi-call.sh @@ -130,7 +130,10 @@ _install_dkms_module() _error "DKMS module cannot be installed" fi } - + +if [ x"run" != x"$1" ]; then + _error "To confirm your intentions execute with 'run' argument" +fi _check_permissions _check_if_already_installed -- 2.20.1