Commits

Bryan O'Sullivan committed 1481643

Apply netplug-1.2.1-init.patch from Fedora Core 3.

Comments (0)

Files changed (1)

scripts/rc.netplugd

 # netplugd     This shell script takes care of starting and stopping
 #              the network plug management daemon.
 #
-# chkconfig: 2345 11 89
+# chkconfig: - 11 89
 # description: netplugd is a daemon for managing non-static network \
 #              interfaces.
 # processname: netplugd
 	$0 stop
 	$0 start
 	;;
+  condrestart)
+	[ -f /var/lock/subsys/netplugd ] && restart || :
+	;;
   *)
 	echo $"Usage: $0 {start|stop|status|restart}"
 	RETVAL=1