View | Details | Raw Unified | Return to bug 648580
Collapse All | Expand All

(-)rc.dhcrelay.orig (-2 / +2 lines)
Lines 152-158 Link Here
152
152
153
	echo -n "Reload service $DAEMON"
153
	echo -n "Reload service $DAEMON"
154
154
155
	if "$SUPPORTS_HUP" = "yes" ; then 
155
	if [ "$SUPPORTS_HUP" = "yes" ]; then 
156
		killproc -p $DAEMON_PIDFILE -HUP $DAEMON_BIN
156
		killproc -p $DAEMON_PIDFILE -HUP $DAEMON_BIN
157
		#touch $DAEMON_PIDFILE
157
		#touch $DAEMON_PIDFILE
158
		rc_status -v
158
		rc_status -v
Lines 165-171 Link Here
165
	## Like force-reload, but if daemon does not support
165
	## Like force-reload, but if daemon does not support
166
	## signalling, do nothing (!)
166
	## signalling, do nothing (!)
167
167
168
	if "$SUPPORTS_HUP" = "yes" ; then
168
	if [ "$SUPPORTS_HUP" = "yes" ]; then
169
		# If it supports signalling:
169
		# If it supports signalling:
170
		echo -n "Reload service $DAEMON"
170
		echo -n "Reload service $DAEMON"
171
		killproc -p $DAEMON_PIDFILE -HUP $DAEMON_BIN
171
		killproc -p $DAEMON_PIDFILE -HUP $DAEMON_BIN
(-)rc.dhcrelay6.orig (-2 / +2 lines)
Lines 160-166 Link Here
160
160
161
	echo -n "Reload service $DAEMON"
161
	echo -n "Reload service $DAEMON"
162
162
163
	if "$SUPPORTS_HUP" = "yes" ; then 
163
	if [ "$SUPPORTS_HUP" = "yes" ]; then 
164
		killproc -p $DAEMON_PIDFILE -HUP $DAEMON_BIN
164
		killproc -p $DAEMON_PIDFILE -HUP $DAEMON_BIN
165
		#touch $DAEMON_PIDFILE
165
		#touch $DAEMON_PIDFILE
166
		rc_status -v
166
		rc_status -v
Lines 173-179 Link Here
173
	## Like force-reload, but if daemon does not support
173
	## Like force-reload, but if daemon does not support
174
	## signalling, do nothing (!)
174
	## signalling, do nothing (!)
175
175
176
	if "$SUPPORTS_HUP" = "yes" ; then
176
	if [ "$SUPPORTS_HUP" = "yes" ]; then
177
		# If it supports signalling:
177
		# If it supports signalling:
178
		echo -n "Reload service $DAEMON"
178
		echo -n "Reload service $DAEMON"
179
		killproc -p $DAEMON_PIDFILE -HUP $DAEMON_BIN
179
		killproc -p $DAEMON_PIDFILE -HUP $DAEMON_BIN

Return to bug 648580