aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifdown-bnep
diff options
context:
space:
mode:
Diffstat (limited to 'sysconfig/network-scripts/ifdown-bnep')
-rwxr-xr-xsysconfig/network-scripts/ifdown-bnep49
1 files changed, 0 insertions, 49 deletions
diff --git a/sysconfig/network-scripts/ifdown-bnep b/sysconfig/network-scripts/ifdown-bnep
deleted file mode 100755
index 9b2d385d..00000000
--- a/sysconfig/network-scripts/ifdown-bnep
+++ /dev/null
@@ -1,49 +0,0 @@
-#! /bin/bash
-
-. /etc/init.d/functions
-
-cd /etc/sysconfig/network-scripts
-. ./network-functions
-
-[ -f ../network ] && . ../network
-
-CONFIG=${1}
-
-source_config
-
-# On hotplug events, just bring the virtual device up as if it's normal Ethernet
-if [ -n "$IN_HOTPLUG" ]; then
- exec /etc/sysconfig/network-scripts/ifdown-eth ${CONFIG} $2
-fi
-
-stop_panu()
-{
- kill -TERM $(cat /run/pand-${DEVICE}.pid)
-}
-
-stop_nap()
-{
- kill -TERM $(cat /run/pand-${DEVICE}.pid)
- /usr/bin/pand -K
-}
-
-stop_gn()
-{
- :
-}
-
-case "$ROLE" in
-PANU)
- stop_panu
- ;;
-NAP)
- stop_nap
- ;;
-GN)
- stop_gn
- ;;
-*)
- echo Unknown BNEP mode :$ROLE
- ;;
-esac
-