文件操作 - ip-down.local.add
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/doc/ppp-2.4.5/scripts/ip-down.local.add
编辑文件内容
# # 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) # . /etc/sysconfig/network-scripts/network-functions if [ -n "$USEPEERDNS" -a -f /var/run/ppp/resolv.conf ]; then if [ -f /var/run/ppp/resolv.prev ]; then change_resolv_conf /var/run/ppp/resolv.prev else change_resolv_conf fi fi
修改文件时间
将文件时间修改为当前时间的前一年
删除文件