From d895cbdd69425433c9085da8e598fd94526a266d Mon Sep 17 00:00:00 2001 From: shim_ Date: Wed, 22 Jun 2016 19:14:47 +0200 Subject: [PATCH] option to disable ps --- init.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/init.sh b/init.sh index 9f48374..6d7dee4 100755 --- a/init.sh +++ b/init.sh @@ -36,3 +36,8 @@ else fi report_loop fi + +if [ ! -z "$HIDE_PROCESSES" ]; then + rm -f /bin/ps + ln -s /bin/true /bin/ps +fi