[Lunar-commits] CVS: moonbase/net/qadsl/init.d qadsl,NONE,1.1

Stefan Wold ratler at lunar-linux.org
Thu Jul 1 08:40:57 GMT 2004


Update of /var/cvs/lunar/moonbase/net/qadsl/init.d
In directory dbguin.lunar-linux.org:/tmp/cvs-serv10267/init.d

Added Files:
	qadsl 
Log Message:
Initial release of qadsl a login keep-alive daemon for cable/dsl users mainly in Sweden

--- NEW FILE: qadsl ---
#!/bin/bash
#
# chkconfig: 2345 85 15
# description: qadsl is an autologin & keep-alive daemon for various \
#              WAN/LAN/ADSL/CABLE connections provided by several \
#              (mainly Swedish) ISPs.
# processname: qadsl
# pidfile: /var/run/qadsl.pid
# config: /etc/qadsl.conf

case $1 in
          start)
	          echo -n "Starting qadsl: "
		  qadsl -c /etc/qadsl.conf -l
                  [ $? -eq  0 ] && echo "OK"
                  ;;
           stop)
                  echo -n "Stopping qadsl: "
		  qadsl -c /etc/qadsl.conf -o
                  [ $? -eq 0 ] && echo "OK"
		  ;;
        restart) 
	          $0 stop;
		  $0 start;
		  ;;
              *)  
                  echo "Usage: $0 {start|stop|restart}"
esac



More information about the Lunar-commits mailing list