From fc0db8caac2364bd1322ab54c03cb29819153d3b Mon Sep 17 00:00:00 2001 From: krempp Date: Tue, 13 Mar 2001 14:49:17 +0100 Subject: [PATCH] petit chgt darcs-hash:20010313134917-92525-13dfed96789955598d1a585713d474799db41fbf.gz --- supers/ntop | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/supers/ntop b/supers/ntop index 996d3195..ece08c98 100755 --- a/supers/ntop +++ b/supers/ntop @@ -10,11 +10,11 @@ prog=`basename $0` # ca permet de faire des scripts qui lancent super sur eux-memes.. test "X$SUPERCMD" = "X$prog" || test "X$UID" = "X0" || exec /usr/bin/super $prog ${1+"$@"} # le script s'arrete ici ds ce cas. -test "X$UID" = "X0" && ORIG_LOGNAME=root # Contenu du script : +user=${$ORIG_LOGNAME-$USER} rep=${ORIG_HOME-$HOME} echo Putting ntop DBs in $rep -/usr/local/bin/ntop -P $rep -a $rep/access.log -u $ORIG_LOGNAME ${1+"$@"} #-l 300 +/usr/local/bin/ntop -P $rep -a $rep/access.log -u $user ${1+"$@"} #-l 300