From 984c93949928f2a2c0517cbd2b6af0fae7dba946 Mon Sep 17 00:00:00 2001 From: shim_ Date: Wed, 22 Jun 2016 22:37:14 +0200 Subject: [PATCH] prefix options --- init.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/init.sh b/init.sh index f42e980..f46eea2 100755 --- a/init.sh +++ b/init.sh @@ -15,15 +15,14 @@ function disable_command { rm -f $1 echo -e '#!/bin/sh\n\n/bin/true' > $1 chmod +x $1 - echo "Disabled $1" } function apply_restrictions { - if [ ! -z "$HIDE_PROCESSES" ]; then + if [ ! -z "$RTM_HIDE_PROCESSES" ]; then disable_command "/bin/ps" fi - if [ ! -z "$HIDE_CONNECTIONS" ]; then + if [ ! -z "$RTM_HIDE_CONNECTIONS" ]; then disable_command "/bin/netstat" fi }