SOURCES: gnu-radius.init - added reload to initscript

aredridel aredridel at pld-linux.org
Sun Oct 8 19:53:04 CEST 2006


Author: aredridel                    Date: Sun Oct  8 17:53:04 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- added reload to initscript

---- Files affected:
SOURCES:
   gnu-radius.init (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SOURCES/gnu-radius.init
diff -u SOURCES/gnu-radius.init:1.2 SOURCES/gnu-radius.init:1.3
--- SOURCES/gnu-radius.init:1.2	Thu Dec  8 01:41:26 2005
+++ SOURCES/gnu-radius.init	Sun Oct  8 19:52:59 2006
@@ -52,13 +52,17 @@
 	status radiusd
 	exit $?
 	;;
+	reload)
+	msg_reloading "GNU Radius Server"
+	killproc radiusd -HUP
+	;;
   restart|force-reload)
 	$0 stop
 	$0 start
 	exit $?
 	;;
   *)
-	msg_usage "$0 {start|stop|restart|force-reload|status}"
+	msg_usage "$0 {start|stop|restart|reload|force-reload|status}"
 	exit 3
 esac
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/gnu-radius.init?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list