Server IP : 184.154.167.98 / Your IP : 3.144.242.235 Web Server : Apache System : Linux pink.dnsnetservice.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 User : puertode ( 1767) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /etc/sysconfig/network-scripts/ |
Upload File : |
#! /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