📄 ipv6-down
字号:
#!/bin/bash# This file should not be modified -- make local changes to# /etc/ppp/ipv6-down.local insteadPATH=/sbin:/usr/sbin:/bin:/usr/binexport PATHLOGDEVICE=$6REALDEVICE=$1[ -x /etc/ppp/ipv6-up.local ] && /etc/ppp/ipv6-up.local "$@"[ -x /etc/sysconfig/network-scripts/ifdown-ipv6 ] || exit 0[ -f /etc/sysconfig/network ] || exit 0. /etc/sysconfig/network[ "${NETWORKING_IPV6}" = "yes" ] || exit 0cd /etc/sysconfig/network-scripts. network-functions. /etc/sysconfig/network-scripts/network-functions-ipv6CONFIG=$1[ -f "$CONFIG" ] || CONFIG=ifcfg-$CONFIGsource_config/etc/sysconfig/network-scripts/ifdown-ipv6 $REALDEVICEif [ "$IPV6_CONTROL_RADVD" = "yes" ]; then # Control running radvd ipv6_trigger_radvd down "$IPV6_RADVD_TRIGGER_ACTION" $IPV6_RADVD_PIDFILEfiexit 0
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -