⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ip-down

📁 cipe 编程
💻
字号:
#!/bin/sh# ip-down <interface> <myaddr> <daemon-pid> <local> <remote> <arg># Sample of the ip-down script.# This is called with the same arguments as ip-up after the device was# closed. It can be used for removing proxyarps, or (like here)# for logging purposes, etc.umask 022PATH=/sbin:/bin:/usr/sbin:/usr/bin# Logging examplenow=`date "+%b %d %T"`echo "$now DOWN $*" >> /var/log/cipe.log# remove the daemon PID file# not to use with piddir or stayalive optionrm -f /var/run/cipe/$6.pid /var/run/cipe/$1.pid# If the system runs gated, tell it what has happened#gdc interfaceexit 0

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -