mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Remove ppp-linkup, readding as non binary file.
This commit is contained in:
parent
8a8c0a8ee0
commit
eba1ebc151
@ -1,21 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
rm -f /var/etc/nameservers.conf
|
||||
|
||||
# unset CGI environment variables so as not to confuse PHP
|
||||
unset CONTENT_TYPE GATEWAY_INTERFACE REMOTE_USER REMOTE_ADDR AUTH_TYPE
|
||||
unset HTTP_USER_AGENT CONTENT_LENGTH SCRIPT_FILENAME HTTP_HOST
|
||||
unset SERVER_SOFTWARE HTTP_REFERER SERVER_PROTOCOL REQUEST_METHOD
|
||||
unset SERVER_PORT SCRIPT_NAME SERVER_NAME
|
||||
|
||||
# write nameservers to file
|
||||
if [ "$6" = "dns1" ]; then
|
||||
echo $7 >> /var/etc/nameservers.conf
|
||||
fi
|
||||
if [ "$8" = "dns2" ]; then
|
||||
echo $9 >> /var/etc/nameservers.conf
|
||||
fi
|
||||
|
||||
# let the configuration system know that the
|
||||
# WAN IP address has changed
|
||||
/etc/rc.newwanip
|
||||
Loading…
Reference in New Issue
Block a user