From 550fd77c1350d2e0e0489b037b35f4447fb8df56 Mon Sep 17 00:00:00 2001 From: Colin Smith Date: Sat, 2 Apr 2005 22:42:22 +0000 Subject: Remove unnecessary tags (GUI no longer used, menu entry no longer needed, syncing functions no longer needed). --- packages/frickin.xml | 42 ------------------------------------------ 1 file changed, 42 deletions(-) (limited to 'packages') diff --git a/packages/frickin.xml b/packages/frickin.xml index bc3c7683..3b182121 100644 --- a/packages/frickin.xml +++ b/packages/frickin.xml @@ -2,54 +2,12 @@ frickin 1.2 - Services: Frickin - pkg_edit.php?xml=frickin.xml&id=0 - - Frickin - Modify settings for the Frickin PPTP proxy. -
Services
- frickin.xml - /pkg_edit.php?xml=frickin.xml&id=0 -
installedpackages->package->$packagename->configuration->settings /usr/local/bin/ a+rx http://www.pfsense.com/packages/All/frickin - - - PPTP Server Address - serveraddress - Enter the PPTP server's IP address. - input - - - Maximum Concurrent Tunnels - maxtunnels - Enter the maximum number of concurrent tunnels to allow at any given time. - input - - - - function sync_package_frickin() { - global $config; - $frickin_config = $config['installedpackages']['frickin']['config'][0]; - $fout = fopen("/usr/local/etc/rc.d/frickin.sh", "w"); - fwrite($fout, "#!/bin/sh\n# This package was automatically generated\n# by the pfSense package system.\n\n"); - fwrite($fout, "/usr/local/bin/frickin"); - if($frickin_config['serveraddress'] != "") fwrite($fout, " -s " . $frickin_config['serveraddress']); - if($frickin_config['maxtunnels'] != "") fwrite($fout, " -c " . $frickin_config['maxtunnels']); - fwrite($fout, " &\n"); - fclose($fout); - mwexec("/usr/bin/killall frickin"); - mwexec("chmod a+rx /usr/local/etc/rc.d/frickin.sh"); - mwexec("/usr/local/etc/rc.d/frickin.sh"); - } - - - sync_package_frickin(); - $fout = fopen("/usr/local/etc/rc.d/frickin.sh", "w"); fwrite($fout, "#!/bin/sh\n# This package was automatically generated\n# by the pfSense package system.\n\n"); -- cgit v1.2.3