diff options
author | Mystery Man <unknown@mandriva.org> | 2003-03-07 07:55:17 +0000 |
---|---|---|
committer | Mystery Man <unknown@mandriva.org> | 2003-03-07 07:55:17 +0000 |
commit | 928545d04299e6beb49f04c39380644ab58848bf (patch) | |
tree | 6f8d47c502c34a245b234c0ab30ab166079a89a7 /mdk-stage1/rp-pppoe/scripts/adsl-init.in | |
parent | 29944326bf1e6c63afa074cfadd3ffbefca309c8 (diff) | |
download | drakx-928545d04299e6beb49f04c39380644ab58848bf.tar drakx-928545d04299e6beb49f04c39380644ab58848bf.tar.gz drakx-928545d04299e6beb49f04c39380644ab58848bf.tar.bz2 drakx-928545d04299e6beb49f04c39380644ab58848bf.tar.xz drakx-928545d04299e6beb49f04c39380644ab58848bf.zip |
This commit was manufactured by cvs2svn to create tag 'V9_1_17mdk'.V9_1_17mdk
Diffstat (limited to 'mdk-stage1/rp-pppoe/scripts/adsl-init.in')
-rwxr-xr-x | mdk-stage1/rp-pppoe/scripts/adsl-init.in | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/mdk-stage1/rp-pppoe/scripts/adsl-init.in b/mdk-stage1/rp-pppoe/scripts/adsl-init.in deleted file mode 100755 index ab9146fd3..000000000 --- a/mdk-stage1/rp-pppoe/scripts/adsl-init.in +++ /dev/null @@ -1,64 +0,0 @@ -#!/bin/sh -# -# adsl This script starts or stops an ADSL connection -# -# chkconfig: 2345 99 01 -# description: Connects to ADSL provider -# -# Copyright (C) 2000 Roaring Penguin Software Inc. This software may -# be distributed under the terms of the GNU General Public License, version -# 2 or any later version. - -# Source function library if it exists -test -r /etc/rc.d/init.d/functions && . /etc/rc.d/init.d/functions - -# From AUTOCONF -prefix=@prefix@ -exec_prefix=@exec_prefix@ - -# Paths to programs -START=@sbindir@/adsl-start -STOP=@sbindir@/adsl-stop -STATUS=@sbindir@/adsl-status -case "$1" in - start) - echo -n "Bringing up ADSL link" - - $START - if [ $? = 0 ] ; then - touch /var/lock/subsys/adsl - echo_success - else - echo_failure - fi - echo "" - ;; - - stop) - echo -n "Shutting down ADSL link" - - $STOP > /dev/null 2>&1 - if [ $? = 0 ] ; then - rm -f /var/lock/subsys/adsl - echo_success - else - echo_failure - fi - echo "" - ;; - - restart) - $0 stop - $0 start - ;; - - status) - $STATUS - ;; - - *) - echo "Usage: adsl {start|stop|restart|status}" - exit 1 -esac - -exit 0 |