From f8a6e36a21c2a632f26e58bbb7c3f77f938d8b01 Mon Sep 17 00:00:00 2001 From: Razvan Becheriu Date: Sat, 30 Jan 2021 10:07:03 +0200 Subject: [PATCH] [#899] removed unused script --- src/hooks/dhcp/run_script/run_script_wrapper.sh | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100755 src/hooks/dhcp/run_script/run_script_wrapper.sh diff --git a/src/hooks/dhcp/run_script/run_script_wrapper.sh b/src/hooks/dhcp/run_script/run_script_wrapper.sh deleted file mode 100755 index 5687af8530..0000000000 --- a/src/hooks/dhcp/run_script/run_script_wrapper.sh +++ /dev/null @@ -1,17 +0,0 @@ -if test ${#} -lt 2; then - echo "Usage: ${0} script_name function_name" - echo " All variables used by the script must be available" - echo " as environment variables." - echo " All variables specified in the 'hook_parameters'" - echo " variable will be printed to stdout." - exit 1 -fi - -script_name=${1} -function_name=${2} - -source ${script_name} ${function_name} - -for parameter in ${hook_parameters}; do - echo "${parameter}=${!parameter}" -done