wok rev 10888

ntop: fix init script
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Mon Jul 04 22:49:16 2011 +0200 (2011-07-04)
parents e0da598eadb0
children f8f2b572363d
files ntop/receipt ntop/stuff/etc/init.d/ntop
line diff
     1.1 --- a/ntop/receipt	Sun Jul 03 09:56:52 2011 +0000
     1.2 +++ b/ntop/receipt	Mon Jul 04 22:49:16 2011 +0200
     1.3 @@ -51,3 +51,4 @@
     1.4  	done
     1.5  }
     1.6  
     1.7 +
     2.1 --- a/ntop/stuff/etc/init.d/ntop	Sun Jul 03 09:56:52 2011 +0000
     2.2 +++ b/ntop/stuff/etc/init.d/ntop	Mon Jul 04 22:49:16 2011 +0200
     2.3 @@ -14,7 +14,7 @@
     2.4  
     2.5  HTTP_PORT="3000"
     2.6  
     2.7 -OPTIONS="-w HTTP_PORT -d"
     2.8 +OPTIONS="-w $HTTP_PORT -d"
     2.9  PIDFILE=/var/run/ntop.pid
    2.10  
    2.11  case "$1" in