aboutsummaryrefslogtreecommitdiffstats
path: root/config/tinc
diff options
context:
space:
mode:
authorapnar <jlukens@botch.com>2012-09-05 03:01:34 +0000
committerapnar <jlukens@botch.com>2012-09-05 03:01:34 +0000
commitdd7f44bca1cab52627b02739c677d5d40b5c812d (patch)
treea1e77495447fbbf15e78a10d63605e90adc72c2b /config/tinc
parent02cc61cf610d14d07c8f954c6abe46107f9a8a42 (diff)
downloadpfsense-packages-dd7f44bca1cab52627b02739c677d5d40b5c812d.tar.gz
pfsense-packages-dd7f44bca1cab52627b02739c677d5d40b5c812d.tar.bz2
pfsense-packages-dd7f44bca1cab52627b02739c677d5d40b5c812d.zip
fix uninstall 2
Diffstat (limited to 'config/tinc')
-rw-r--r--config/tinc/tinc.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/tinc/tinc.inc b/config/tinc/tinc.inc
index ea495e9f..697e2932 100644
--- a/config/tinc/tinc.inc
+++ b/config/tinc/tinc.inc
@@ -148,9 +148,9 @@ function tinc_deinstall() {
mwexec("/sbin/ifconfig {$realif} -group " . $a_ifgroups[$_GET['id']]['ifname']);
}
unset($a_ifgroups[$myid]);
+ mwexec("/bin/rm -f /tmp/config.cache");
+ write_config();
}
- mwexec("/bin/rm -f /tmp/config.cache");
- write_config();
conf_mount_ro();
config_unlock();