118 Commits

Author SHA1 Message Date
Franco Fichtner
a0b769e85d bsnmpd: pluginify 2016-11-20 11:49:14 +01:00
Franco Fichtner
b508d4d9f7 services: rename again for consistency 2016-11-20 11:16:10 +01:00
Franco Fichtner
79da7c9a13 dnsmasq: pluginification 2016-11-19 08:52:34 +01:00
Franco Fichtner
3fcf1b3c36 unbound: pluginify 2016-11-18 18:27:36 +01:00
Franco Fichtner
7b07e6a539 plugins: introduce $verbose for plugins #1256 2016-11-14 23:21:09 +01:00
Franco Fichtner
f16199ffe9 cron: prepend system_, but move to system.inc later 2016-11-14 23:09:22 +01:00
Franco Fichtner
a711740da7 ntp: #1256 2016-11-14 23:00:38 +01:00
Franco Fichtner
b74970ee60 services: clean up several for #1256 2016-11-14 22:53:25 +01:00
Franco Fichtner
203732a96b dhcprelay: port to #1256 2016-11-14 22:20:01 +01:00
Franco Fichtner
b0ad4456ba igmpprox: foo for #1256 2016-11-14 22:07:01 +01:00
Franco Fichtner
a4882df929 snmp: corrections for #1256 2016-11-14 21:54:07 +01:00
Franco Fichtner
715b636793 unbound: clean up includes and function usage
o consolidate "unbound_" prefix for unbound.inc for pluginification
o services.inc includes unbound.inc rightfully, a bit like a
  plugin would do in the future, but this also means we can
  zap all requires from top pages, which are entirely spurious.
o get_dns_servers() moves to system.inc because it is used by
  status_interfaces.php
o RIP read_hosts()
2016-11-14 11:28:01 +01:00
Franco Fichtner
7cf779687c rrd: verbose transition for #1256 2016-11-14 07:28:34 +01:00
Franco Fichtner
721705d10c filter: /var/run/booting avoidance #1256 2016-11-14 07:22:25 +01:00
Franco Fichtner
33d1edc8e0 system: timezones conversion for #1256
Some minor tweaks in the file, e.g. we shouldn't use gettext()
for most tings, don't need translations in config files or for
strings that are hardly translatable (OpenVPN).
2016-11-13 17:17:01 +01:00
Franco Fichtner
408ebbef48 dnsmasq: same as previous with bits for #1256 2016-11-13 17:03:26 +01:00
Franco Fichtner
20b3939520 unbound: straighten out the dhcp reload mess, loosely refs #1256
This was done in early 16.7, seems to work fine so finish the
transition, dnsmasq is next...
2016-11-13 17:03:25 +01:00
Franco Fichtner
a9b8f96545 verbose option for #1256 2016-11-13 17:03:24 +01:00
Franco Fichtner
2c045731ce unbound: fix xmlrpc sync splatter during boot
This is the proper way to handle bootup output for the
console: request it and don't output ever time it's called
during boot....
2016-11-09 17:11:30 +01:00
Franco Fichtner
8ab6fb4c5e relayd: extensive pluginification
Not perfect yet, some spots still taint the backend with
requiring relayd.inc which should only be included by the
plugin's own files directly.
2016-11-07 22:03:50 +01:00
Franco Fichtner
bd6d928aa8 relayd: should grep from top dir ;) 2016-11-07 19:46:40 +01:00
Franco Fichtner
2a322bff7f rc: this wasn't properly protected 2016-11-07 19:06:26 +01:00
Franco Fichtner
850cd7a5fa miniupnpd: merge inc files, minor tweaks on the code
Since we have pluggable anchors, this is ready to move to
plugins to shink down the base system a bit.
2016-10-29 00:43:48 +02:00
Franco Fichtner
2d450939a0 system: consolidate previous
* system_console_configure() is really system_login_configure()+
* make a template for sudoers config setting
* move auth template generation to single spot
2016-10-26 07:17:58 +02:00
Franco Fichtner
2d7698a642 rc: we only care about config migration messages on pkg upgrade 2016-10-10 20:30:06 +02:00
Franco Fichtner
c78c9ced21 config: weave new migrations into convert_config(); closes #1156 2016-10-10 08:38:35 +02:00
Franco Fichtner
1d4ca0ff7c rc: strip pugins.inc from backend files 2016-10-01 10:42:28 +02:00
Franco Fichtner
5120905f1c dashboard: advertise LiveCD mode and SSH choices 2016-09-23 09:40:43 +02:00
Franco Fichtner
8ecaf5f910 system: kernel modules are static, move them to loader.conf 2016-09-23 00:09:40 +02:00
Franco Fichtner
0b11965202 rc: plugins_interfaces() shouldn't be enforced here
With the previous call-sites in place we don't need this
"fixup" anymore, assuming that interface groups, OpenVPN
and IPsec settings are now consistent under the new state,
which is true, because right now it was enforced by the
rc system anyway.
2016-08-28 12:39:25 +02:00
Franco Fichtner
738f733d1d rc: no use starting sshd before user sync 2016-08-10 19:14:02 +02:00
Franco Fichtner
557e72712b rc: clean up a bit after #1072
o Recovery console is weird, just use CTRL-C from anywhere
o Simplify the early installer invoke by probing for keypress
o Display a brief message when installer+SSH is active
2016-08-09 07:58:49 +02:00
Franco Fichtner
d4ecff6f9c rc: add sshd for installer (2/2); closes #1072 2016-08-09 00:07:13 +02:00
Franco Fichtner
710f00e842 rc: add installer user (1/2)
Prefer LiveCD boot during install media boot, then
set up an extra user for installation.  This user
shall be reached via console or SSH soon enough for
a sort of remote install experience.

PR: https://forum.opnsense.org/index.php?topic=3403

Inspired by: DragonFlyBSD (and we're using its installer anyway!)
2016-08-08 18:04:13 +02:00
Franco Fichtner
835ad1b754 services: refactor lease handling and dns along with it 2016-07-24 16:12:32 +00:00
Franco Fichtner
845b96d41f system: tighten serial handling around /etc/ttys 2016-06-22 18:25:12 +02:00
Ad Schellevis
4e3b66c257 zapp pfsense-utils.inc 2016-06-20 16:59:19 +02:00
Ad Schellevis
1a7199cc1a code style rc.bootup 2016-06-20 12:30:38 +02:00
Franco Fichtner
638e3d8ff8 led: remove unmaintained support 2016-06-18 15:27:19 +02:00
Franco Fichtner
44cd7aee8e openvpn: create devices before running initial configure; closes #980 2016-06-08 07:58:49 +02:00
Franco Fichtner
17f656da41 rc: adjust install mode selection 2016-06-06 12:52:56 +02:00
Ad Schellevis
f92004feda (plugins) hook in plugins_interfaces() 2016-05-26 18:32:23 +02:00
Ad Schellevis
d082febd9c (legacy) refactor config->interface traversal 2016-05-26 18:05:09 +02:00
Franco Fichtner
5035c508a2 system: automate proper webgui stop/start; closes #941 2016-05-16 15:27:18 +02:00
Franco Fichtner
67a3a7e85c rc: load required kernel modules 2016-05-02 09:01:15 +02:00
Franco Fichtner
dec52fa605 interfaces: prune some settings while investigating #832
o polling is going away
o idiomaitic way to enable/disable arp handling
o where does ip version prefer really fit in?
o unhide checkbox captions, as redundant as they may seem
2016-04-07 22:05:50 +02:00
Ad Schellevis
b706112a12 replace configd_run with actual command in rc.bootup 2016-03-24 13:52:34 +01:00
Ad Schellevis
3c7049ef14 (boot) load modules before setting sysctl to support setting of sysctl vars for modules 2016-03-24 13:23:01 +01:00
Franco Fichtner
d74c27494d system: do the previous for thermal modules plus some naming unification 2016-03-17 13:25:09 +01:00
Franco Fichtner
cbd9ffb5f9 plugins: make plugins.inc side-effect free
The rules are simple:

* plugins_configure() requires all available plugins, probes their
  configure functions and then calls the advertised functions.

* All GUI pages must directly include their includes in plugins.inc.d
  to not overly pollute their loading phase.
2016-02-21 20:09:07 +01:00