ip-down.local.add
来自「经典的ppp程序」· ADD 代码 · 共 21 行
ADD
21 行
## This sample code shows you one way to modify your setup to allow automatic# configuration of your resolv.conf for peer supplied DNS addresses when using# the `usepeerdns' option.## In my case I just added this to my /etc/ppp/ip-down.local script. You may need to # create an executable script if one does not exist.## Nick Walker (nickwalker@email.com)#if [ -n "$USEPEERDNS" -a -f /etc/ppp/resolv.conf ]; then if [ -f /etc/ppp/resolv.prev ]; then cp -f /etc/ppp/resolv.prev /etc/resolv.conf else rm -f /etc/resolv.conf fifi
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?