729 Commits

Author SHA1 Message Date
Ad Schellevis
1ea8dddbc4 move convert_ipv6_to_128bit,convert_128bit_to_ipv6 to interfaces.inc 2015-03-31 13:21:51 +00:00
Ad Schellevis
a0ae10709b move return_hex_ipv4 into interfaces.inc 2015-03-31 13:04:53 +00:00
Ad Schellevis
ccb05e3b6d move system_get_language_code into head.inc 2015-03-31 13:03:25 +00:00
Ad Schellevis
b4d06b803d move get_locale_list into system.php (single usage) 2015-03-31 13:00:09 +00:00
Ad Schellevis
1751d30ab3 move set_language into guiconfig.inc 2015-03-31 12:56:17 +00:00
Ad Schellevis
96f8a78c4b move generate_ipv6_from_mac into services.inc (single usage) 2015-03-31 12:52:44 +00:00
Ad Schellevis
e089afda06 move function from pfsense-utils.inc to getserviceproviders.php (nowhere else used) 2015-03-31 12:49:09 +00:00
Ad Schellevis
a44c5f3cec move code from pfsense-utils.inc to captiveportal.inc (nowhere else used) 2015-03-31 12:47:20 +00:00
Ad Schellevis
5f431d1672 remove nanobsd related file 2015-03-31 12:36:55 +00:00
Ad Schellevis
405b4c92e7 remove unused functions notices.inc 2015-03-31 12:17:23 +00:00
Ad Schellevis
17f66981d2 remove unused meta.inc 2015-03-31 12:15:05 +00:00
Ad Schellevis
4489229468 remove unused functions led.inc 2015-03-31 12:11:55 +00:00
Ad Schellevis
42afd3a0b7 remove unused functions from ipsec.inc 2015-03-31 11:57:09 +00:00
Ad Schellevis
4ecd8dacf2 remove unused functions from interfaces.inc 2015-03-31 11:52:40 +00:00
Ad Schellevis
5f381ac533 remove unused functions interfaces.inc 2015-03-31 11:36:01 +00:00
Ad Schellevis
a84ff2b172 remove unused functions gwlb.inc 2015-03-31 11:35:18 +00:00
Ad Schellevis
3922acc309 cleanup unused functions gmirror.inc 2015-03-31 11:34:44 +00:00
Ad Schellevis
7f2ebadd72 cleanup unused funciton filter.inc 2015-03-31 11:34:05 +00:00
Ad Schellevis
51f813759c remove unused functions cert.inc 2015-03-31 11:33:37 +00:00
Franco Fichtner
9e84a30795 src: whitespace sweep 2015-03-31 12:56:07 +02:00
Ad Schellevis
85667d1cfb cleanup rc.reboot ( same as rc.halt) 2015-03-31 10:06:40 +00:00
Ad Schellevis
bd114c0d88 changed order of config lock check on shutdown, if some (custom) scripts waits to long the webui might still trash the config 2015-03-31 09:11:16 +00:00
Ad Schellevis
d6ae716445 fix config locking on shutdown and implement rc.d stop script 2015-03-31 09:02:08 +00:00
Ad Schellevis
4685a91bbf missed an fclose in config, no real issue but not very nice... 2015-03-31 10:57:42 +02:00
Ad Schellevis
fd1bc27f8b remove some old config leftover 2015-03-31 08:36:40 +00:00
Ad Schellevis
f290b78c5b implement additional rc scripting start, fix for https://github.com/opnsense/core/issues/94
uses a more standard approach to startup daemons via the rc.d system.

To enable, place a file for your service in /etc/rc.conf.d/ and set the enable variable to YES ( for example squid_enable=YES )
2015-03-31 08:05:39 +00:00
Franco Fichtner
353b07b7de interfaces: do not clobber resolv.conf via rtsold #47 2015-03-30 19:02:57 +02:00
Ad Schellevis
de5376b8e5 remove some unused captive_portal code 2015-03-30 15:50:16 +00:00
Ad Schellevis
5fa5cbb825 remove unused disk_usage function 2015-03-30 15:38:41 +00:00
Franco Fichtner
6922e35e95 rc: moving from i386 to amd64 or vice versa doesn't work
Packages are not part of the base so they stay the same bricking
the installation completely.  If you need to pull off such a stunt,
please use the install media plus config importer--it's cleaner.
2015-03-30 17:28:49 +02:00
Ad Schellevis
c6240d38f8 cleanup non functional javascript code 2015-03-30 08:35:23 +00:00
Ad Schellevis
0fa6332a7b issue with handling sequential arrays and gaps between indexes, fix for https://github.com/opnsense/core/issues/118 2015-03-30 10:24:48 +02:00
Franco Fichtner
191524ed00 src: whitespace sweep 2015-03-30 10:15:53 +02:00
Franco Fichtner
ff49930e0d inc: tidy up util.inc 2015-03-30 10:09:41 +02:00
Franco Fichtner
ecd61f2565 git: ignore autogenerated python files 2015-03-30 09:40:42 +02:00
Franco Fichtner
334aa32f0f interfaces: remove spurious boot output and add a sane mwexecf() wrapper 2015-03-30 09:37:11 +02:00
Ad Schellevis
e07045d9d1 add extra validation on config object to prevent save of defective data 2015-03-29 20:17:22 +02:00
Ad Schellevis
49c891985f fix for https://github.com/opnsense/core/issues/116 (group handling tried to remove groups) 2015-03-29 12:22:51 +00:00
Ad Schellevis
5e22c02082 small typo in previous fix 2015-03-29 12:57:31 +02:00
Ad Schellevis
cb9f82195f validate fromArray in config class to ignore empty tags. If for some strange reason the frontend code drops empty tags, we need to ignore them.
Related to https://github.com/opnsense/core/issues/116
2015-03-29 12:09:54 +02:00
Ad Schellevis
68212c0ccf include missing in config for log_error function 2015-03-27 17:43:51 +00:00
Ad Schellevis
64d21efdbe fix for https://github.com/opnsense/core/issues/115 , the process flow remains messy, but shouldn't flush the config data anymore 2015-03-27 16:52:23 +00:00
Franco Fichtner
a98e94b345 captiveportal: simplify start/restart for #114
Even though the webgui is restarted selectively, the other function
runs the complete captiveportal reconfigure and restarts all webguis
again.  I am suspecting this prevents the reload from working properly.
2015-03-27 09:16:23 +01:00
Franco Fichtner
36b9cb78a2 inc: remove more legacy package service glue 2015-03-27 08:29:14 +01:00
Franco Fichtner
c478234976 captiveportal: cleanups loosely related to #114 2015-03-27 07:55:49 +01:00
Franco Fichtner
d80be7bf79 ipsec: more config amending; fixes #112 2015-03-26 22:48:48 +01:00
Ad Schellevis
2d86dbfb55 suppress some messages when flushing pf tables for aliases on boot. 2015-03-26 19:09:08 +00:00
Franco Fichtner
32aeeab6b1 routes: fix missing array() init (#108)
Small whitespace cleanups and style on top.
2015-03-26 17:01:22 +01:00
Ad Schellevis
b3aa303cdc some more php-fpm issues 2015-03-26 16:00:27 +00:00
Ad Schellevis
adacd4b6ed fix for https://github.com/opnsense/core/issues/111 (leftover from php-fpm) 2015-03-26 15:38:08 +00:00