diff options
author | Ermal <eri@pfsense.org> | 2011-01-03 21:51:47 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2011-01-03 21:53:07 +0000 |
commit | 33818198764b936e47409940adde511f58b56f43 (patch) | |
tree | 21804a80c9bb1339ce20629df2a03f27f181f26e /etc | |
parent | e44e5f3a79aba14a054f351178030fc87b1f4771 (diff) | |
download | pfsense-33818198764b936e47409940adde511f58b56f43.zip pfsense-33818198764b936e47409940adde511f58b56f43.tar.gz |
Oops remove forgotten line and correct variable name error that seems to have existed from long time. Even though the file read is not used in pfSense this days!
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/system.inc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc index 7b6bfe7..ad7a9ef 100644 --- a/etc/inc/system.inc +++ b/etc/inc/system.inc @@ -184,8 +184,7 @@ function get_nameservers() { // Read in any extra nameservers if(file_exists("/var/etc/nameservers.conf")) { - $dns_lists = split("\n", `/bin/cat /var/etc/nameservers.conf`); - $dns_lists = file("/var/etc/nameservers.conf", FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES); + $dns_s = file("/var/etc/nameservers.conf", FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES); if(is_array($dns_s)) { foreach($dns_s as $dns) if (is_ipaddr($dns)) |