diff options
author | David Kaspar [Dee'Kej] <dkaspar@redhat.com> | 2017-03-21 17:19:32 +0100 |
---|---|---|
committer | Dee'Kej <deekej@linuxmail.org> | 2017-03-22 14:42:25 +0100 |
commit | 9ab04edfb16c30f9bb03b1227b60cc751a692876 (patch) | |
tree | 3e6fc4fc204e30a341d78286e0b3c8010802e13a /sysconfig/network-scripts/ifdown-bnep | |
parent | 0649ea591e8d95415847da3ceeb4c2ba49d01248 (diff) | |
download | initscripts-9ab04edfb16c30f9bb03b1227b60cc751a692876.tar initscripts-9ab04edfb16c30f9bb03b1227b60cc751a692876.tar.gz initscripts-9ab04edfb16c30f9bb03b1227b60cc751a692876.tar.bz2 initscripts-9ab04edfb16c30f9bb03b1227b60cc751a692876.tar.xz initscripts-9ab04edfb16c30f9bb03b1227b60cc751a692876.zip |
9.70-sync: sysconfig/network-scripts/* updated - part 1
This commit contains only whitespace & indentation style changes.
Diffstat (limited to 'sysconfig/network-scripts/ifdown-bnep')
-rwxr-xr-x | sysconfig/network-scripts/ifdown-bnep | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/sysconfig/network-scripts/ifdown-bnep b/sysconfig/network-scripts/ifdown-bnep index b8064fd8..f29b34b6 100755 --- a/sysconfig/network-scripts/ifdown-bnep +++ b/sysconfig/network-scripts/ifdown-bnep @@ -13,37 +13,37 @@ 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 + exec /etc/sysconfig/network-scripts/ifdown-eth ${CONFIG} $2 fi stop_panu() { - kill -TERM $(cat /var/run/pand-${DEVICE}.pid) + kill -TERM $(cat /var/run/pand-${DEVICE}.pid) } stop_nap() { - kill -TERM $(cat /var/run/pand-${DEVICE}.pid) - /usr/bin/pand -K + kill -TERM $(cat /var/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 - ;; +PANU) + stop_panu + ;; +NAP) + stop_nap + ;; +GN) + stop_gn + ;; +*) + echo Unknown BNEP mode :$ROLE + ;; esac |