OXIESEC PANEL
- Current Dir:
/
/
snap
/
core
/
17200
/
etc
/
ppp
/
ip-down.d
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
02/18/2024 07:58:21 PM
rwxr-xr-x
📄
0000usepeerdns
581 bytes
01/27/2016 04:19:52 PM
rwxr-xr-x
📄
000resolvconf
413 bytes
11/29/2017 06:26:46 PM
rwxr-xr-x
Editing: 0000usepeerdns
Close
#!/bin/sh -e # exit if the resolvconf package is installed [ -x /sbin/resolvconf ] && exit 0 # follow any symlink to find the real file if [ -e /etc/resolv.conf ]; then REALRESOLVCONF=$(readlink --canonicalize /etc/resolv.conf) else REALRESOLVCONF=/etc/resolv.conf fi # if an old resolv.conf file exists, restore it if [ -e $REALRESOLVCONF.pppd-backup.$PPP_IFACE ]; then mv -f $REALRESOLVCONF.pppd-backup.$PPP_IFACE $REALRESOLVCONF # restart nscd because resolv.conf has changed if [ -e /var/run/nscd.pid ]; then /etc/init.d/nscd restart || true fi fi exit 0