From: Diego T. <rap...@us...> - 2004-03-21 17:30:43
|
Update of /cvsroot/devil-linux/build/scripts/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9711/scripts/scripts Modified Files: openvpn Added Files: longhaul Log Message: longhaul and shfs for first time --- NEW FILE: longhaul --- #!/bin/bash # longhaul patches added by Diego Torres <rap...@an...> # from longhaul of the longhaul package, see # http://www3.sympatico.ca/howlettfamily/epia/longhaul.html ### BEGIN INIT INFO # Provides: longhaul # Required-Start: $network $syslog # Required-Stop: $network $syslog # Default-Start: 3 5 # Default-Stop: 0 1 6 # Description: loads the longhaul patches for the VIAC3_2 ### END INIT INFO # settings source /etc/sysconfig/config # parameters NAME="longhaul service" CONFIGNAME=LONGHAUL # source function library source /etc/init.d/functions eval START=\$START_$CONFIGNAME # Determine the base and follow a runlevel link name. base=${0##*/} link=${base#*[SK][0-9][0-9]} # Force execution if not called by a runlevel directory. test $link = $base && START=yes test "$START" = "yes" || exit 0 case "$1" in start) echo "Starting longhaul driver" /sbin/modprobe longhaul /sbin/modprobe governor touch /var/lock/subsys/longhaul ;; stop) echo "Stopping longhaul driver" /sbin/modprobe -r governor /sbin/modprobe -r longhaul rm -rf /var/lock/subsys/longhaul ;; restart) $0 stop sleep 1 $0 start ;; *) echo "Usage: $0 {start|stop|restart}" exit 1 esac Index: openvpn =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/scripts/openvpn,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- openvpn 5 Jan 2004 19:49:24 -0000 1.6 +++ openvpn 21 Mar 2004 17:20:31 -0000 1.7 @@ -1,5 +1,5 @@ #!/bin/bash -# OPENVPN added by Diego Torres <dt...@co...> +# OPENVPN added by Diego Torres <rap...@an...> # from opevpn.init of the OpenVPN package # Contributed to the OpenVPN project by # Douglas Keller <do...@vo...> |