aboutsummaryrefslogtreecommitdiff
path: root/sh/functions.sh
AgeCommit message (Collapse)Author
2008-01-13Change lib name during make, not install.Roy Marples
2008-01-11Update copyrights, my email and license.Roy Marples
2008-01-11Adopt a more C style for scripts and remove vim settings.Roy Marples
2008-01-11Remove full license text from shell cripts.Roy Marples
2008-01-10Add /usr/pkg to the PATH for NetBSD packages.Roy Marples
2007-12-14Remove Gentoo copyright from all files that I know I have writtenRoy 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-11-29Use shorthand for loopsRoy Marples
2007-11-28Massive whitespace cleanupRoy Marples
2007-11-28Sanitize our PATH a bit better, and terminate it correctly in start-stop-daemon.Roy Marples
2007-11-22Use yesnoRoy Marples
2007-11-22Add a yesno function to check the boolean value of a variableRoy Marples
2007-11-21We should include local pathsRoy Marples
2007-11-14relicense as 2-clause BSD, with the kind permission of GentooRoy Marples
2007-09-28-C should force no colour as wellRoy Marples
2007-09-19/lib/rcscripts -> /lib/rcRoy Marples
2007-08-16Fully move esyslog into rcRoy Marples
2007-07-16Allow zsh to work as our shellRoy Marples
2007-05-05Better fixRoy Marples
2007-05-05Fix KV_to_int working with funky kernel versions, #177197.Roy Marples
2007-04-24We now buffer stdout and stderr to a file and flush that when running in ↵Roy Marples
parallel. RC_PARALLEL_STARTUP has been renamed to RC_PARALLEL.
2007-04-17Rationalise our colour usage a little.Roy Marples
2007-04-17Allow user vars for colours in our shell scripts tooRoy Marples
2007-04-05Rewrite the core parts in C. We now provide librc so other programs canRoy Marples
query runlevels, services and state without using bash. We also provide libeinfo so other programs can easily use our informational functions. As such, we have dropped the requirement of using bash as the init script shell. We now use /bin/sh and have strived to make the scripts as portable as possible. Shells that work are bash and dash. busybox works provided you disable s-s-d. If you have WIPE_TMP set to yes in conf.d/bootmisc you should disable find too. zsh and ksh do not work at this time. Networking support is currently being re-vamped also as it was heavily bash array based. As such, a new config format is available like so config_eth0="1.2.3.4/24 5.6.7.8/16" or like so config_eth0="'1.2.3.4 netmask 255.255.255.0' '5.6.7.8 netmask 255.255.0.0'" We will still support the old bash array format provided that /bin/sh IS a link it bash. ChangeLog for baselayout-1 can be found in our SVN repo.