aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifdown-ippp
blob: 4a4c449d501fd9033f6afb318b4fad6862759e02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#! /bin/sh

PATH=/sbin:/usr/sbin:/bin:/usr/bin 

# Get global network configuration
[ -f /etc/sysconfig/network ] && . /etc/sysconfig/network

CONFIG=$1

. $CONFIG

# stopping ibod daemon for channel bundling
if [ -f /var/lock/subsys/ibod ] ; then
    kill -9  $(pidof ibod) >/dev/null 2>&1
    rm -f /var/lock/subsys/ibod
fi

# Shut down IPv6
#if [ "${NETWORKING_IPV6}" = "yes" ]; then
#    /etc/sysconfig/network-scripts/ifdown-ipv6 $DEVICE
#fi

# shutdown isdn device
isdnctrl hangup $DEVICE >/dev/null 2>&1
sleep 1
ifconfig $DEVICE down >/dev/null 2>&1

# delete isdn device
isdnctrl delif $DEVICE >/dev/null 2>&1

# kill ipppd daemon
if [ -f /var/run/ipppd.$DEVICE.pid ] ; then
    pppdpid=`cat /var/run/ipppd.$DEVICE.pid`
    kill -9 $pppdpid > /dev/null 2>&1
    rm -f /var/run/ipppd.$DEVICE.pid > /dev/null 2>&1
fi
+0000'>2005-04-292-3/+3 | * exit and warn when no wireless interface is found (#15244)Olivier Blin2005-04-291-1/+10 | * perl_checker fixesOlivier Blin2005-04-291-5/+5 | * do not write blank ESSIDOlivier Blin2005-04-291-2/+6 | * updatesKeld Simonsen2005-04-291-184/+104 | | | | | | indexhtml/po/da.po soft/urpmi/po/da.po gi/perl-install/share/po/da.po * if one prefer using "Modes" instead of "Virtual", keep it as isPascal Rigaux2005-04-281-2/+5 | * configure pppoe connections in a ppp peer fileOlivier Blin2005-04-281-29/+30 | * display VPI/VCI values in decimalOlivier Blin2005-04-271-6/+10 | | | | | update ATM_ADDR after with VPI/VCI values * fix mandrake_release() when called with a prefixPascal Rigaux2005-04-271-1/+2 | * Maybe the last Mandrake->Mandriva replacement.Funda Wang2005-04-2772-116/+116 | * reindentOlivier Blin2005-04-271-64/+70 | * - create config_files() out of update_for_renumbered_partitions()Pascal Rigaux2005-04-271-29/+35 | | | | | | | - create main_method_choices() out of read() - create configured_main_methods() for rescue install_bootloader - rework update_for_renumbered_partitions() * create install_raw_grub() and install_raw_lilo()Pascal Rigaux2005-04-271-9/+16 | * allow using mandrake_release() with a prefixPascal Rigaux2005-04-271-2/+3 | * don't write /etc/ppp/options anymore, adjust options in peer filesOlivier Blin2005-04-271-48/+15 | * pptp-adsl is obsolete, prefer pptp-linuxOlivier Blin2005-04-271-1/+1 | * (getUPS) do not detect IR devices as UPSes (#15495)Thierry Vignaud2005-04-261-1/+1 | * remove obsolete change (C_RPM and C_DRAKX are not used in c/stuff anymore)Pascal Rigaux2005-04-261-1/+0 | * start simplifying "make stage2"Pascal Rigaux2005-04-261-5/+5 | * add missing tagsThierry Vignaud2005-04-261-5/+6 | * updateThierry Vignaud2005-04-261-11/+33 | * don't use ->set_uposition anymore, use ->move instead (as suggested on ↵Pascal Rigaux2005-04-261-3/+3 | | | | gtk-perl mailing list) * add bug reference in 10.3-0.6mdk's changelogThierry Vignaud2005-04-251-1/+1 | * 10.3-0.6mdkThierry Vignaud2005-04-251-1/+8 | * updateThierry Vignaud2005-04-251-148/+152 | * using c::rpmvercmp is cleanerPascal Rigaux2005-04-251-2/+1 | * sync with copyright bumpingThierry Vignaud2005-04-2571-113/+113 | * bump copyrigth noticeThierry Vignaud2005-04-2530-31/+31 | * list myselfThierry Vignaud2005-04-251-0/+1 | * damien is no more working for usThierry Vignaud2005-04-251-1/+1 | * fix comparing kernel version greater than 6.8Pascal Rigaux2005-04-251-1/+2 | * updated Welsh filePablo Saratxaga2005-04-251-8/+16 | * updated Italian and Spanish filesPablo Saratxaga2005-04-253-2741/+2467 | * corrected urlPablo Saratxaga2005-04-251-2/+2 | * Updated Malay translationSharuzzaman Ahmat Raslan2005-04-251-2489/+2685 | * handle errors in wireless packages installation, simplifyOlivier Blin2005-04-242-36/+46 | * allow to disable WPA even if no key is usedOlivier Blin2005-04-241-6/+6 | * fix WPA keyOlivier Blin2005-04-242-4/+4 | * more Mandrake -> Mandriva changesPablo Saratxaga2005-04-2336-676/+649 | * various Mandrake -> Mandriva changesPablo Saratxaga2005-04-2371-18861/+16657 | * s/Mandrivalinux/Mandriva Linux/Pablo Saratxaga2005-04-2314-53/+53 | * mandrakelinux -> Mandriva LinuxPablo Saratxaga2005-04-231-4/+4 | * s/Mandrivalinux/Mandriva Linux/Pablo Saratxaga2005-04-2318-41/+41 | * s/www.mandrakelinux.com/www.mandrivalinux.com/Pablo Saratxaga2005-04-231-7/+7 | | | | | s/Mandrivalinux/Mandriva Linux/ * s/www.linux-mandrake.com/www.mandrivalinux.com/Pablo Saratxaga2005-04-231-2/+2 | * mandrakesoft.com -> mandriva.comPablo Saratxaga2005-04-232-4/+4 | * updated po filesPablo Saratxaga2005-04-23