25 Commits

Author SHA1 Message Date
Franco Fichtner
4fe76dde30 rc: on cdrom images, the config is bootstrapped afterwards, meh 2015-03-10 09:15:36 +01:00
Franco Fichtner
82cfdeb456 rc: shells are weird 2015-03-10 07:50:59 +01:00
Franco Fichtner
18cf4e9ea0 rc: adjust and fix missing pkgng database when using MFS
While there, embed rc.embedded and fix permissions of rc.halt.
2015-03-09 18:09:59 +01:00
Franco Fichtner
5ce3abb5b4 rc: remove pbi remnants from this general area 2015-03-09 13:24:43 +01:00
Franco Fichtner
9cd2b8857d rc/inc: regenerate the php.ini files in a more maintainable place 2015-03-09 09:23:11 +01:00
Franco Fichtner
08e6c7d71d rc: missed a cf usage 2015-03-05 12:38:00 +01:00
Franco Fichtner
ae8716546d rc: migration glue for <= 15.1.7 installs 2015-03-05 09:10:33 +01:00
Franco Fichtner
c7f253ffd4 src: deprecate /cf/conf in favour of /conf
It's been confusing to say the least, resulting in multiple
misuses throughout the code.  The idea was that /cf pointed
to a read-write root, while / pointed to read-only root.
For non-embedded images this was emulated by linking
/conf -> /cf/conf, which, is a bit questionable because now
you can write from /conf as well and don't have to use /cf/conf
at all.

A couple of lines are left in /usr/local/etc/rc which need to
be reviewed so that migration paths are safe for all types
of firmware upgrades.
2015-03-05 08:10:00 +01:00
Franco Fichtner
c2d2fe4b90 rc: shuffle newlines around a wee bit too (#32) 2015-03-02 12:35:09 +01:00
Franco Fichtner
0f2443ee72 rc: there's always something else that breaks...
Just move to the actual rc script in the repo from our hook and
revert back to a simple mount inside that one.  Problem solved.
2015-02-26 15:49:15 +01:00
Franco Fichtner
f00447ed1e rc: fix unionfs stuck in read-only mode
Pondering whether this is a bug in the actual file system code...
2015-02-26 13:18:39 +01:00
Ad Schellevis
f7d4063ea4 remove reference to check_reload_status 2015-02-25 08:57:22 +01:00
Franco Fichtner
eaed16aeb3 pkg: move the automount to /etc/rc so that...
/usr/local/etc/rc is always the latest version.  Issue
popped up again since check_reload_status was replaced.
2015-02-25 08:12:12 +01:00
Ad Schellevis
19265d25e2 cleanup legacy code.
- remove the use for pfSctl, replaced with a new configd control script to be able to remove the check_reload_status port
- replace use of global $g['booting'] because some scripts use this outside the main loop which causes strange behavior ( for example dhcp client which starts a newwanip on connect ). replaced which check on file /var/run/booting which is set in rc script
2015-02-24 17:26:55 +00:00
Ad Schellevis
86058fb84c rename check_reload_status to configd, but keep legacy support for check_reload_status. 2015-02-24 12:09:54 +01:00
Franco Fichtner
22a3d39e05 src: Niceness cannot be bought; it has to be earned. 2015-02-22 12:12:12 +01:00
Franco Fichtner
ea25770055 rc: fix embarrassing typo ;) 2015-02-09 17:21:00 +01:00
Franco Fichtner
48d3b71ada rc: rewrite version foo in message of the day 2015-02-09 17:17:53 +01:00
Franco Fichtner
9af57742fd openssl: fix issues with port version not finding config
Really don't want to ship this file locally so that others
might be encouraged to edit it (again).
2015-01-25 15:13:20 +01:00
Franco Fichtner
a1f66881da rc: apply harmless whitespace changes 2014-12-28 20:19:53 +01:00
Franco Fichtner
0545356b8d rc: don't need nullfs anymore 2014-12-11 14:32:40 +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
3606a039b1 rc: start to simplify cdrom handling; zap varmfs/etcmfs
etcmfs has been known to break when /etc gets too big, so
just remove it with a general /tmp partition that is set via
the tools.git through rc.conf and slap unionfs mounts on top.
2014-12-10 22:27:34 +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