aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifdown-sl
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2009-03-16 16:00:31 -0400
committerBill Nottingham <notting@redhat.com>2009-03-16 16:00:31 -0400
commit750074d873466dc2cdd6bbfaa79ce22c4e001ebe (patch)
tree5fa99dddcd23d077791533b1025b2e71dd5e3c9c /sysconfig/network-scripts/ifdown-sl
parent825dae77cb703b2be273283f1c7e04090f7529af (diff)
downloadinitscripts-750074d873466dc2cdd6bbfaa79ce22c4e001ebe.tar
initscripts-750074d873466dc2cdd6bbfaa79ce22c4e001ebe.tar.gz
initscripts-750074d873466dc2cdd6bbfaa79ce22c4e001ebe.tar.bz2
initscripts-750074d873466dc2cdd6bbfaa79ce22c4e001ebe.tar.xz
initscripts-750074d873466dc2cdd6bbfaa79ce22c4e001ebe.zip
Remove slip support.
We don't provide dip any more, and probably haven't for years.
Diffstat (limited to 'sysconfig/network-scripts/ifdown-sl')
-rwxr-xr-xsysconfig/network-scripts/ifdown-sl45
1 files changed, 0 insertions, 45 deletions
diff --git a/sysconfig/network-scripts/ifdown-sl b/sysconfig/network-scripts/ifdown-sl
deleted file mode 100755
index 0bd0342e..00000000
--- a/sysconfig/network-scripts/ifdown-sl
+++ /dev/null
@@ -1,45 +0,0 @@
-#!/bin/bash
-
-cd /etc/sysconfig/network-scripts
-. ./network-functions
-
-CONFIG=$1
-source_config
-
-# signals ifup-sl not to persist
-rm -f /var/run/sl-$DEVICE.dev
-
-PID=`pidof dip-$DEVICE`
-#
-# The proctitle for connected dip daemons is actually "-dip (ipaddr)"
-# with ipaddr == local on dial-out, remote on dial-in
-# Grab the PID of connected dial-out daemon.
-#
-if [ -z "$PID" ]; then
- PID=`pidof -- -dip\ \($IPADDR\)`
-fi
-if [ -z "$PID" ]; then
- exit 1
-fi
-
-kill $PID > /dev/null 2>&1
-if [ ! -d /proc/$PID ]; then
- /etc/sysconfig/network-scripts/ifdown-post $1
- exit 0
-fi
-sleep 2
-if [ ! -d /proc/$PID ]; then
- /etc/sysconfig/network-scripts/ifdown-post $1
- exit 0
-fi
-
-kill -KILL $PID > /dev/null 2>&1
-if [ -d /proc/$PID ]; then
- /usr/bin/logger -p daemon.info -t ifdown-ppp "ifdown-ppp unable to kill pppd-$DEVICE" &
-else
- /etc/sysconfig/network-scripts/ifdown-post $1
-fi
-[ ! -d /proc/$PID ] && exit 0
-
-exit 1
-