7 Commits

Author SHA1 Message Date
Franco Fichtner
e5cdce79a1 shell: move banner to top like it used to
Discussed with a number of people over the years.
2018-07-06 20:31:22 +00:00
Franco Fichtner
185d8fab90 rc: do not leak banner.php script location 2018-06-10 20:00:23 +00:00
Franco Fichtner
7d14f2d8ee rc: opnsense-recover is now known as opnsense-shell #1966
Merge the purpose of these scripts now that we can execute other
commands using the shell menu trampoline.
2018-05-27 12:14:04 +02:00
Franco Fichtner
ac50d3e203 rc: modify the shell even more 2018-05-26 22:28:09 +02:00
Franco Fichtner
15ec336b0f rc: parse '-c', it's passed to the shell by sudo
The funny thing is su -m foobar -c "sh -c '$cmd'" could be as
short as su -m foobar -s /bin/sh -c "$cmd" but why bother selecting
a shell when you need to rely on a proper root shell to be set?
2018-05-26 08:51:05 +00:00
Franco Fichtner
d12a594608 rc: parse arguments for our shell, harmless!? 2018-05-19 17:39:58 +00:00
Franco Fichtner
272a5b8b41 rc: rc.initital is now opnsense-shell 2018-05-19 15:23:36 +02:00