167 Commits

Author SHA1 Message Date
Franco Fichtner
253a888c26 installer: remove fluff 2021-04-19 14:19:04 +02:00
Franco Fichtner
cefe1069e4 installer: ok, one more ;) 2021-04-14 20:15:55 +02:00
Franco Fichtner
161523247e installer: avoid padding to make this look fresh 2021-04-14 08:55:02 +02:00
Franco Fichtner
f9dd232a39 installer: remove old workaround 2021-04-13 15:01:30 +02:00
Franco Fichtner
55e4e45dac installer: no longer requires this 2021-04-13 14:06:18 +02:00
Franco Fichtner
a08b8ec72b installer: switch installer package 2021-04-13 09:35:28 +02:00
Franco Fichtner
61ca8a7b68 pkg: add series and nickname to metadata 2021-04-09 08:56:46 +02:00
Franco Fichtner
9ae1359888 rc: whitespace in previous 2021-02-06 15:55:24 +01:00
Franco Fichtner
12637eb7f5 rc: let opnsense-version -c check package file existence 2021-02-05 13:26:43 +01:00
Franco Fichtner
1250318dc2 rc: add tiny manual page for opnsense-beep 2021-02-01 11:25:44 +01:00
Franco Fichtner
d7c86fa3cd rc: add two more beep variants 2021-02-01 10:18:39 +01:00
Franco Fichtner
9121ee88ce rc: refactor, add missing copyright header, rename
Scott committed this in 2005 so it is safe to assume the BSD
license fits...

See also: https://github.com/pfsense/pfsense/commit/fa94531eaba
2021-02-01 09:46:45 +01:00
Franco Fichtner
c1f839ef9d firmware: introduce non-core JSON metadata handling #4500 2021-01-16 09:47:04 +01:00
Franco Fichtner
cf609e2e6a src: small style update 2021-01-05 09:12:02 +01:00
Franco Fichtner
921b7c69f0 firmware: emulate -s for core package 2021-01-01 10:15:27 +01:00
Franco Fichtner
cf1f4e00b9 rc: support id in pluginctl -s mode
PR: https://forum.opnsense.org/index.php?topic=19240.0
2020-09-22 14:40:21 +02:00
Franco Fichtner
1960f9d84e rc: fix wrong double quotes 2020-09-05 18:37:56 +02:00
Franco Fichtner
21d7e26ba9 rc: directory exists after previous loop 2020-09-05 06:53:53 +02:00
Franco Fichtner
4f269f7cb0 rc: fix typo 2020-09-05 06:51:24 +02:00
Franco Fichtner
5301999708 rc: fix ssh key permissions on MSDOS import
PR: https://forum.opnsense.org/index.php?topic=18984.0
2020-09-04 23:18:33 +02:00
Franco Fichtner
7b6e7af079 importer: misaligned password reset 2020-05-15 10:19:08 +02:00
Franco Fichtner
e5eb7affb3 system: refactor beep.sh a little 2020-04-06 18:29:19 +02:00
Franco Fichtner
ae4a84ff5d plugins: for console use append a newline 2020-03-23 12:10:04 +01:00
Ad Schellevis
1e2cc4724a pluginctl: add -g to extract config.xml values, e.g. pluginctl -g system.firmware.plugins (https://github.com/opnsense/core/issues/1663) 2020-02-17 09:57:11 +01:00
Ad Schellevis
bb7557d38f pluginctl, add run mode, so we can execute things like "pluginctl -r return_gateways_status". easier to ask the user when debugging.
while looking into https://github.com/opnsense/core/issues/3759
2019-10-13 12:39:09 +02:00
Franco Fichtner
c83daaa54b sbin: usage print tweaks 2019-10-07 11:07:47 +02:00
Franco Fichtner
b2560c6eb4 services: split code to get rid of shallow services.inc #3736 2019-10-01 08:33:15 +02:00
Franco Fichtner
9c3cfc58c4 plugins: make pluginctl service restart verbose 2019-10-01 08:09:43 +02:00
Franco Fichtner
5868dda2cf services: remove services_get() by flattening it into plugins_services() 2019-09-30 07:27:43 +02:00
Ad Schellevis
d3323a82f8
CARP: optionally promote/demote on service status (#3656)
CARP: optionally promote/demote on service status event handler.

This adds /usr/local/etc/rc.carp_service_status.d/ to register service check scripts, which on failure exit are considered blocking for normal service operation.

A service should emit the following on status change, which in response might lead to change of carp status:

configctl interface update carp service_status

The included early script assures an initial demotion value before interface setup.

ref  https://github.com/opnsense/core/issues/3636
2019-08-18 19:54:05 +02:00
Ad Schellevis
df5a33381f pluginctl: explain what we are doing and prettify callflow a bit.
usage: pluginctl [-h] -[c] [-s] [arguments]

optional arguments:

	-h show this help text and exit
	-c configure mode (default), executes plugin [_configure] hook
	-s service mode (e.g. myservice restart)

	 without arguments, a list of plugins of the requested type is shown
2019-08-08 11:22:30 +02:00
Franco Fichtner
f772b4ef9a system: reduce diff vs. stable 2019-05-21 09:01:53 +02:00
Franco Fichtner
255e9b76b4 system: add pluginctl -s support
For legacy components route -s option through plugins_services()
to get a list of services that can be controlled like the GUI
controls.  E.g.:

    # pluginctl dhcpd [start|stop|restart]

PR: https://forum.opnsense.org/index.php?topic=12781.0
2019-05-20 21:05:10 +02:00
Franco Fichtner
e7aab795b7 system: list the commands for pluginctl when no argument is given 2019-05-09 09:54:16 +02:00
Franco Fichtner
04d4f50cca interfaces: separate dhcpd from services.inc 2019-04-28 15:07:10 +02:00
Franco Fichtner
8d0072e775 system: only use rrd where needed 2019-04-23 17:18:53 +02:00
Franco Fichtner
e1ec8980e4 importer: allow builtin password reset for new installer 2019-03-17 19:23:09 +01:00
Franco Fichtner
3582c206a7 system: remove obsolete bits for #3257 2019-03-10 08:54:13 +01:00
Franco Fichtner
69ff2fa8ad system: move opnsense-auth to libexec
... but keep a symlink for backwards compatibility
2019-02-27 01:26:15 +01:00
Franco Fichtner
75c3100ba7 interfaces: move mpd.script to scripts dir
mpd5 is started with -d /var/etc so it expects mpd.script to be there.
Some small simplifications along the way.
2019-02-25 08:23:50 +01:00
Franco Fichtner
cfc95122f2 interfaces: move ppp-related scripts to proper location
sbin/ is for console-bound binaries.
2019-02-25 08:23:50 +01:00
Franco Fichtner
38be942639 firmware: move duty to return the correct name/id to opnsense-version
To be fixed there eventually without a stale note attached.
2019-02-25 08:16:21 +01:00
Ad Schellevis
0793375e3f Authentication/pam, initial (working) version to move already implemented pam services into our framework. for https://github.com/opnsense/core/issues/3242 2019-02-18 22:03:50 +01:00
Franco Fichtner
654d6221da interfaces: change indent in previous 2019-01-30 21:16:21 +01:00
Ad Schellevis
b154c3bee4 mpd, add Pin options to ModemIdentCustom. closes https://github.com/opnsense/core/issues/3164 2019-01-30 17:58:57 +01:00
Franco Fichtner
972c3aa2c6 firmware: fix previous 2019-01-30 08:28:13 +01:00
Franco Fichtner
b8116f8193 firmware: kernel / base version files no longer append architecture 2019-01-30 08:23:40 +01:00
Franco Fichtner
2b265279e5 src: change all instances to "comma-separated" 2019-01-06 15:04:28 +01:00
Michael Steenbeek
1708d13076 Remove redundant closing tags 2019-01-03 14:58:19 +01:00
Franco Fichtner
4cef794d42 installer: find all possible configs and include them
Sooner or later we will remove custom configs and this is in the
way of simply zapping a file by statically including it.
2018-12-28 08:05:52 +01:00