aboutsummaryrefslogtreecommitdiff
path: root/sh
AgeCommit message (Collapse)Author
2007-12-14Remove the try and check_statedir functionsRoy Marples
2007-12-14Remove Gentoo copyright from all files that I know I have writtenRoy Marples
2007-12-14Allow services to be in /usr/local/etc/init.d, but disallow them being added ↵Roy Marples
to the boot runlevel.
2007-12-14Default to correct init dir and preserve depconfigRoy Marples
2007-12-14We should only do colours if fd1 is a terminal by defaultRoy Marples
2007-12-06Move RC_ to EINFO_ for all env vars related to einfo.Roy Marples
2007-12-05Remove rc_service_wait as runscript.c should do the waiting. ↵Roy Marples
rc_deptree_depend now returns the exact depends as listed. This is so we can support a new 'keywords' directive. We can add whatever here, like 'notimeout' which means that an init script doesn't timeout. This removes the hardcoded check on checkfs and checkroot.
2007-12-04Our default start command should correctly recover on failed re-entrant servicesRoy Marples
2007-12-04Preserve IFS correctlyRoy Marples
2007-12-03rc-help.sh should use standard ecolours vs its internal ideasRoy Marples
2007-11-30fix last stupid errorRoy Marples
2007-11-30Ensure that lo0 gets 127.0.0.1/8 with a space separated configRoy Marples
2007-11-29Allow services to define which extra commands require the service to be startedRoy Marples
2007-11-29Use shorthand for loopsRoy Marples
2007-11-29Allow space separated configs to work for CIDR address stylesRoy Marples
2007-11-29Fix whitespace in configsRoy Marples
2007-11-28Massive whitespace cleanupRoy Marples
2007-11-28resolvconf may not be in /sbinRoy Marples
2007-11-28Sanitize our PATH a bit better, and terminate it correctly in start-stop-daemon.Roy Marples
2007-11-28Support required_dirs and required_files. Allow services to mark inactive if ↵Roy Marples
using templates and fake commands if in background.
2007-11-28Allow whitespace in routing commands, Gentoo bug #200458.Roy Marples
2007-11-26Don't rely on sed being available when calculating depsRoy Marples
2007-11-23this is still an env varRoy Marples
2007-11-23grep isn't always in /binRoy Marples
2007-11-23Move /etc/conf.d/rc to /etc/rc.conf.Roy Marples
Lowercase all configurable variables, non configurations remain uppercase. Replace rc_env_bool with rc_yesno. Split localmount info procfs (Linux) and dumpon, savecore (BSD)
2007-11-22Use yesno for more robustnessRoy Marples
2007-11-22Use yesno for more robustnessRoy Marples
2007-11-22Use yesnoRoy Marples
2007-11-22Add a yesno function to check the boolean value of a variableRoy Marples
2007-11-21The BSD's don't need to umount cleanly when shuttind down, as they have a ↵Roy Marples
special kernel service to handle this. As sch, don't error if we don't have fuser
2007-11-21We should include local pathsRoy Marples
2007-11-20opts -> extra_commands. This is much more descriptive.Roy Marples
2007-11-20Add a rarpd init script and allow templates to add start-stop-daemon argumentsRoy Marples
2007-11-20start -> stopRoy Marples
2007-11-20runscript.sh now provides default start/stop functions if command and ↵Roy Marples
pidfile variables are set. We also run $cmd_pre and $cmd_post commands and return accordingly.
2007-11-19Move runlevel and lib logic to the sub MakefilesRoy Marples
2007-11-19Our build chain now works with GNU and BSD make implementationsRoy Marples
2007-11-14Allow bash arrays to be flattened to make some configs easier.Roy Marples
2007-11-14relicense as 2-clause BSD, with the kind permission of GentooRoy Marples
2007-11-02Fix up display for tab delimited fooRoy Marples
2007-11-01Work cleanly with bridges on kernels without TCP, #197791.Roy Marples
2007-11-01Fix fallback, #197788.Roy Marples
2007-10-31You can now log baselayout-2 again, through the RC_LOGGER conf.d/rcRoy Marples
setting. The log is temp stored in /lib/rc/init.d/rc.log and appended to /var/log/rc.log if it's writeable. sysinit cannot be logged in Linux as we rely on sysinit to bring the system up to a point where we can log. single user cannot be logged on FreeBSD due to waitpid(0,0,0) incorrectly waiting for the log daemon in another process group.
2007-10-30Embed newlines in __IFS to save our identingRoy Marples
2007-10-29Network config arrays are now split by embedded new lines instead of being ↵Roy Marples
evaled into space separated values. This makes it easier to read, maintain and document as discussed on gentoo-dev.
2007-10-09netmount, localmount, halt.sh and net scripts now check OS specific flags to ↵Roy Marples
see if a mount is network mounted (linux = fstab, *bsd = "local" in mount options) or not, #192772.
2007-10-04Document help and statusRoy Marples
2007-10-04Fix rc-help regarding per runlevel config filesRoy Marples
2007-09-28-C should force no colour as wellRoy Marples
2007-09-28net.sh now checks to see if root is net mounted if no predown functionRoy Marples
exists, #194074.