ntpd: make it work w/o -g too :(
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
		@@ -1,5 +1,8 @@
 | 
			
		||||
#!/bin/bash
 | 
			
		||||
# (using bashisms: "function", arrays)
 | 
			
		||||
# (using bashism: arrays)
 | 
			
		||||
 | 
			
		||||
service="${PWD##*/}"
 | 
			
		||||
rundir="/var/run/service/$service"
 | 
			
		||||
 | 
			
		||||
user=root
 | 
			
		||||
extif=if
 | 
			
		||||
@@ -10,9 +13,6 @@ sv o .
 | 
			
		||||
# Debug
 | 
			
		||||
#date '+%Y-%m-%d %H:%M:%S' >>"$0.log"
 | 
			
		||||
 | 
			
		||||
service=`basename "$PWD"`
 | 
			
		||||
rundir="/var/run/service/$service"
 | 
			
		||||
 | 
			
		||||
### filter This is the default table (if no -t option is passed).  It contains
 | 
			
		||||
###        the  built-in chains INPUT (for packets coming into the box itself),
 | 
			
		||||
###        FORWARD (for packets being routed through the box), and OUTPUT (for
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user