32 Commits

Author SHA1 Message Date
Franco Fichtner
01f38e3135 rc: "tweak" previous, but it's practically unfixable 2018-02-09 07:37:27 +00:00
Franco Fichtner
b5a3ad126b rc: fix access to shell for now
PR: https://forum.opnsense.org/index.php?topic=7222.0
2018-02-08 19:01:46 +01:00
Franco Fichtner
49a2bc6584 system: a bit more magic to keep things from breaking; closes #2154 2018-02-05 06:50:17 +00:00
Franco Fichtner
d4b0b2af88 rc: rebuild the command line backup restore
This is a shell script to make recovery as recoverable as
possible, now with a clear license and the ability to apply
inline or reboot for a clean configuration cycle.
2017-07-09 10:51:55 +02:00
Franco Fichtner
e79d58d033 rc: yeah, that is true, but not helpful :) 2017-05-22 10:34:09 +02:00
Franco Fichtner
edefc9511f rc: softcode console restore option on -devel for now 2017-05-22 10:31:15 +02:00
Franco Fichtner
f0fc0a5f55 rc: typographical tweaks 2017-05-12 07:33:23 +02:00
Franco Fichtner
b542ddf754 rc: switch web GUI reload for reload all, some cleanups 2016-12-18 22:58:07 +01:00
Franco Fichtner
81e205f75e rc: move restore to "initial" section 2016-12-18 22:52:58 +01:00
Franco Fichtner
52bfec334b rc: less indent for console menu 2016-11-24 08:01:25 +01:00
Franco Fichtner
8c25dd18c0 rc: align console menu for new motd 2016-11-20 16:23:34 +01:00
Franco Fichtner
8986792ddd rc: remove fallthrough for commands from menu 2016-11-05 13:45:29 +01:00
Stéphane Lesimple
a11850cc45 rc: fix an infinite loop on tty close
if the tty is closed while the script is running,
it would previously go in an infinite loop trying
to read from and write to the now-defunct tty.

fixes: https://github.com/opnsense/core/issues/1240
2016-11-03 12:51:18 +01: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
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
25a6aa6bb4 system: change halt to power off; closes #907 2016-04-24 11:52:41 +02:00
Franco Fichtner
7aabc9dcef console: switch halt and reboot; closes #338 2015-08-22 19:39:03 +02:00
Franco Fichtner
3ffb835524 rc.initial: yes, I'm that lazy 2015-07-09 09:04:06 +02:00
Franco Fichtner
5427a3d654 rc: try refreshing php-cgi through SIGHUP instead 2015-04-01 11:19:47 +02:00
Franco Fichtner
5320fc92f9 rc: kill php-cgi to deal with moved includes 2015-04-01 08:36:23 +02:00
Franco Fichtner
7992bedfd3 rc: rename firmware console script for consistency 2015-03-06 14:44:34 +01:00
Franco Fichtner
dd21a823cb rc: another newline shuffle 2015-03-02 13:21:25 +01:00
Franco Fichtner
c2d2fe4b90 rc: shuffle newlines around a wee bit too (#32) 2015-03-02 12:35:09 +01:00
Franco Fichtner
ed6c71d6a3 rc: fix annoying MOTD/console menu gap and update copyright header 2015-03-02 11:25:19 +01:00
Franco Fichtner
931efa6867 src: fix all the whitespaces! 2015-02-27 14:50:26 +01:00
Ad Schellevis
79e657ab64 add support for su into main shell menu system, needed for standard rc scripts 2015-02-25 18:54:07 +00:00
Franco Fichtner
edd1601b81 rc: ingore SIGINT and SIGQUIT in pseudo-shell 2015-01-24 16:21:36 +01:00
Franco Fichtner
f10cedbea3 rc: prune shell menu some more 2014-12-11 13:30:29 +01:00
Franco Fichtner
c076d1c728 rc: change install media workflow
* Boot into the installer by default; it can still be aborted.

* Remove the dysfunct rescue installer.  The normal installer
  now has a better rescue tool called "Import configuration".

* Move and rework the installer launcher as rc.installer.  It
  can be called at any time if needed.
2014-12-11 11:49:04 +01:00
Franco Fichtner
4de5be80a0 inc: no idea why jails are special...
We can dash out jails, use them for development or production
environments even.  Sure, they may not support some priviledged
operation, but keeping weird glue around that is probably not
in all the places it should be is weird.
2014-12-10 23:44:42 +01:00
Franco Fichtner
8121fffd24 rc: improve the user experience on boot
First impressions are the most important ones...
2014-12-10 23:44:42 +01:00
Franco Fichtner
727453c076 src: move all files (again)
Make "src" the implicit "/usr/local" so that nobody can
sneak in weird files in the base file system or potentially
overwrite them.

This is the last time, I swear...  :)
2014-12-10 16:42:39 +01:00