📄 ip-down.soho
字号:
#!/bin/sh
# ip-down <interface> <myaddr> <daemon-pid> <local> <remote> <arg>
# This script is called with the same arguments as ip-up
# after the interface goes down.
umask 022
PATH=/sbin:/bin:/usr/sbin:/usr/bin
# remove the daemon PID file
rm -f /var/run/cipe/$6.pid /var/run/cipe/$1.pid
# remove routing for 192.168.2.0
route del -net 192.168.2.0/24
# or let gated know
#gdc interface
exit 0
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -