summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2010-02-03 23:48:04 +0000
committerErmal Luçi <eri@pfsense.org>2010-02-03 23:55:22 +0000
commit1570d27a49ec91874485b0ccc63f13dea498e3df (patch)
treea9aa2c1df2bd9dcfbb324a95ac5252d464a4f2e6 /sbin
parent056577694f5156ecda13b35452714df3df2605fd (diff)
downloadpfsense-1570d27a49ec91874485b0ccc63f13dea498e3df.zip
pfsense-1570d27a49ec91874485b0ccc63f13dea498e3df.tar.gz
When removing a package delete its underlying FreeBSD pacakges.
Correct checks for avioding as much as possible errors. Simplify logic in some cases. Remove package include files when uninstalling packages. NOTE: Some work is needed to have more error reporting. Espescially when failing to retrieve files or add them locally.
Diffstat (limited to 'sbin')
-rwxr-xr-xsbin/dhclient-script2
1 files changed, 2 insertions, 0 deletions
diff --git a/sbin/dhclient-script b/sbin/dhclient-script
index 9c84d5f..d58d972 100755
--- a/sbin/dhclient-script
+++ b/sbin/dhclient-script
@@ -196,6 +196,8 @@ add_new_resolv_conf() {
echo $new_domain_name >/var/etc/defaultdomain.conf
fi
+ echo $interface > /tmp/rc.newwanip
+
return 0
}
OpenPOWER on IntegriCloud