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
Jos Schellevis
d429c2e1b8
Fix typo in IPv6 sysctl setting
2015-03-26 09:45:53 +00:00
Ad Schellevis
812d1aa4f5
fix for alias issues (global not being set)
2015-03-26 08:13:29 +00:00
Ad Schellevis
bc1601085f
fix null pointer issue for https://github.com/opnsense/core/issues/105
2015-03-25 21:26:42 +01:00
Franco Fichtner
564571c81d
vpn: one more round of whitespaces
2015-03-25 21:04:48 +01:00
Ad Schellevis
aa2d91562f
reread config after save, to avoid hitting messy code from legacy.
2015-03-25 20:02:27 +00:00
Ad Schellevis
0fdbe407a5
some more fixes for config handling
2015-03-25 19:31:58 +00:00
Ad Schellevis
8972c57e44
fix config handling on empty tags for dhcp / ipsec
2015-03-25 17:56:57 +00:00
Franco Fichtner
4e929daba7
src: dirty dirty whitespaces
2015-03-25 17:34:18 +01:00
Ad Schellevis
d7a3e5a82b
some more alias pages which can't handle empty aliases
2015-03-25 16:31:11 +00:00
Ad Schellevis
41b4302719
fix for aliasses not shown / maybe flushed after save of new aliasses.
2015-03-25 16:24:01 +00:00
Franco Fichtner
774fa9f411
services: fix dhcpd startup on install media
...
Submitted by: Ad
2015-03-25 16:05:00 +01:00
Franco Fichtner
f62c0223c2
rc: remove unneeded scripting cruft
2015-03-25 15:14:13 +01:00
Ad Schellevis
436046665a
Legacy ACL mapping update
2015-03-25 09:59:52 +00:00
Franco Fichtner
07aaac43df
xml: clean up the list tags and order them alphabetically
2015-03-25 10:22:20 +01:00
Franco Fichtner
343c099220
inc: remove minimum RAM warning
...
Either the RAM requirements have increased, or hardware has
increased. Simply stating the arbitrary and obvious while
doing things of little value to `fix' the situation it is
probably better to just force an old-fashioned out of memory,
which is mostly the point where the user realises that it is
not going to work anyway.
2015-03-24 23:03:28 +01:00
Franco Fichtner
9002010cb0
inc: remove more globals that are barely used or unused
2015-03-24 22:56:23 +01:00
Ad Schellevis
8f2449cb2c
fix config issue in initial setup wizard
2015-03-24 17:17:46 +00:00
Franco Fichtner
0dccde43ba
inc: more pruning--reading manuals is good
...
`If a globalized variable is unset() inside of a function,
only the local variable is destroyed. The variable in the
calling environment will retain the same value as before
unset() was called.'
via http://php.net/manual/en/function.unset.php
2015-03-24 18:06:16 +01:00
Franco Fichtner
f4f9e42888
src: clean up style and spurious comments
2015-03-24 17:47:09 +01:00
Franco Fichtner
96bd855790
openvpn: remove obsolete probing for /etc/version
2015-03-24 17:34:46 +01:00
Franco Fichtner
9120b96675
globals: zap more unused or obsolete glue
2015-03-24 17:34:46 +01:00
System Administrator
802eb63671
Fix config array options in xmlparse
2015-03-24 16:19:56 +00:00
Franco Fichtner
cb7f004d0d
openvpn: conf_mount_*() calls are no more
2015-03-24 16:48:04 +01:00