summaryrefslogtreecommitdiffstats
path: root/etc/rc.savevoucher
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-11-21 16:07:54 -0500
committerScott Ullrich <sullrich@pfsense.org>2009-11-21 16:08:36 -0500
commit483e6de8423236fd6af30de585caa72a507758f1 (patch)
treeeb889e0d2978c3975304a54e2cd7ac4606d73a98 /etc/rc.savevoucher
parente2d90eacaa1d352dbf19d7b9c05b1bc0ee1dc942 (diff)
downloadpfsense-483e6de8423236fd6af30de585caa72a507758f1.zip
pfsense-483e6de8423236fd6af30de585caa72a507758f1.tar.gz
Rework includes/require. This saves about 4 megabytes.
Simplify get_memory(). Tested on mips/i386
Diffstat (limited to 'etc/rc.savevoucher')
-rw-r--r--etc/rc.savevoucher3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/rc.savevoucher b/etc/rc.savevoucher
index 338fd49..4ccc4d4 100644
--- a/etc/rc.savevoucher
+++ b/etc/rc.savevoucher
@@ -29,6 +29,9 @@
*/
/* parse the configuration and include all functions used below */
+ require_once("functions.inc");
+ require_once("config.inc");
+ require_once("captiveportal.inc");
require_once("voucher.inc");
voucher_save_db_to_config();
OpenPOWER on IntegriCloud