diff options
author | apnar <jlukens@botch.com> | 2012-09-05 01:29:43 +0000 |
---|---|---|
committer | apnar <jlukens@botch.com> | 2012-09-05 01:29:43 +0000 |
commit | 3e9357fb33891ef939594561153abba49f161043 (patch) | |
tree | c3949a61dd404a0194a3a7945e1c2d0babbc7cb2 | |
parent | a6b55f4d1bf635a36c1d65d3f3e3488ed9cd135b (diff) | |
download | pfsense-packages-3e9357fb33891ef939594561153abba49f161043.tar.gz pfsense-packages-3e9357fb33891ef939594561153abba49f161043.tar.bz2 pfsense-packages-3e9357fb33891ef939594561153abba49f161043.zip |
remove some unused code
-rw-r--r-- | config/tinc/tinc.inc | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/config/tinc/tinc.inc b/config/tinc/tinc.inc index a17fad27..33e550dd 100644 --- a/config/tinc/tinc.inc +++ b/config/tinc/tinc.inc @@ -130,8 +130,6 @@ function tinc_status_2() { function tinc_install() { safe_mkdir("/usr/local/etc/tinc"); safe_mkdir("/usr/local/etc/tinc/hosts"); -# make_dirs("/var/tmp/tinc/var/tmp/run/tinc"); -# system("/usr/sbin/chown -R tinc:tinc /var/tmp/tinc"); $_rcfile['file']='tinc.sh'; $_rcfile['start'].="/usr/local/sbin/tincd --config=/usr/local/etc/tinc\n\t"; $_rcfile['stop'].="/usr/local/sbin/tincd --kill \n\t"; @@ -141,21 +139,6 @@ function tinc_install() { conf_mount_rw(); config_lock(); -/* - # find next free optional interface number - for ($i = 1; $i <= count($GLOBALS['config']['interfaces']); $i++) { - if (!$GLOBALS['config']['interfaces']["opt{$i}"]) - break; - } - $newifname = 'opt' . $i; - $descr = "TINC"; - $GLOBALS['config']['interfaces'][$newifname] = array(); - $GLOBALS['config']['interfaces'][$newifname]['descr'] = $descr; - - uksort($GLOBALS['config']['interfaces'], "compare_interface_friendly_names"); - - $GLOBALS['config']['interfaces'][$newifname]['if'] = "tun0"; -*/ /* Create Interface Group */ if (!is_array($GLOBALS['config']['ifgroups']['ifgroupentry'])) |