Roy Marples
55eb3794fb
Rework our folder structure so that we don't have OS specific dirs, making it easier to share init and conf files per OS.
2008-03-25 14:06:05 +00:00
Mike Frysinger
e1b09daaac
fix broken whitespace -- no functional changes
2008-03-23 12:24:15 +00:00
Roy Marples
d9ec62b22a
Add rc-service and update all softlevel refs to runlevel.
2008-03-19 17:11:50 +00:00
Roy Marples
7b8215bbd3
Support pam_mktemp.
2008-03-18 08:19:29 +00:00
Roy Marples
8f1cb87981
Typo
2008-03-05 13:55:05 +00:00
Roy Marples
a689b66023
Add tunable SYSCONFDIR
2008-03-05 12:27:11 +00:00
Roy Marples
fba18b3a48
localmount uses lvm
2008-03-05 08:40:17 +00:00
Roy Marples
fb85a0833f
Fix fsck progress bar.
2008-03-04 16:58:26 +00:00
Roy Marples
9f0d99020a
swapctl -t doesn't work on fbsd.
2008-03-04 00:29:43 +00:00
Roy Marples
6ca5e8e0dc
Use swapctl for NetBSD.
2008-03-03 19:12:53 +00:00
Roy Marples
15cf41e713
Split VPS into VSERVER and OPENVZ
2008-03-03 17:19:56 +00:00
Roy Marples
7a8e9d4ddb
Add a gitignore make target.
2008-03-03 13:04:08 +00:00
Roy Marples
61c476e72d
Use exlicit make targets, not directory contents.
2008-03-03 12:34:51 +00:00
Roy Marples
67c5fd6bb8
Ensure that our scripts call prefixed runscript.
2008-03-02 21:14:01 +00:00
Roy Marples
a12dbdc6c9
Don't check for root in prefix.
2008-03-02 21:13:21 +00:00
Roy Marples
924ae8cadd
Don't display title coming back from single user.
2008-03-01 11:52:27 +00:00
Roy Marples
fa993d7711
ignore more stuff
2008-02-28 21:50:18 +00:00
Roy Marples
15fd2f3acc
Remove ;;
2008-02-28 21:14:59 +00:00
Roy Marples
b9f81365d2
Only reboot when starting in the boot runlevel.
2008-02-28 19:13:36 +00:00
Roy Marples
063563bd4e
Don't abort fsck at shutdown.
2008-02-28 18:43:47 +00:00
Roy Marples
c2648ca5f5
Makefile SH variable now tweaks the default shell used by our scripts.
2008-02-27 20:29:32 +00:00
Roy Marples
5ddd32c06c
Allow fsck to be multiplexed.
2008-02-20 00:33:38 +00:00
Roy Marples
e1e36b2872
keywords -> keyword
2008-02-19 14:36:22 +00:00
Roy Marples
0364bb2c84
Add the nojail keyword which excludes services marked as such from the dependency tree when in a jail, #bug 22
2008-02-19 14:15:53 +00:00
Roy Marples
01e148d29d
Style
2008-02-01 12:07:19 +00:00
Roy Marples
c1b3aa77a9
fsck should ignore SIGQUIT. Some implementation exit code 3 for a reboot. Reboot on Linux requires the -f flag.
2008-02-01 10:48:21 +00:00
Roy Marples
148739ed99
Swap may need local mounts
2008-02-01 09:29:26 +00:00
Roy Marples
e2484e7f24
Fix default preen option.
2008-01-31 18:15:04 +00:00
Roy Marples
cf567c844f
Remove rc_force_auto as users can now specify -y in fsck_args.
2008-01-31 17:18:39 +00:00
Roy Marples
492a8f87cf
Enable fsck_shutdown again.
2008-01-31 17:12:54 +00:00
Roy Marples
e687cc1e79
Remove the over-engineered checkfs and checkroot scripts and replace with simple fsck, root and mtab scripts. Update dependencies accordingly.
2008-01-31 16:10:18 +00:00
Roy Marples
b6b88d3a07
fsck -A isn't all that portable, so just use one codepath.
2008-01-31 13:19:04 +00:00
Roy Marples
829f4d281c
Hack around busybox find / rm not handling -- correctly.
2008-01-25 12:33:53 +00:00
Roy Marples
cd6f815036
Don't special case innd.pid and handle files in run that start with -
2008-01-14 10:57:48 +00:00
Roy Marples
fec312d448
Update copyrights, my email and license.
2008-01-11 15:31:10 +00:00
Roy Marples
3bf49a9bd1
Adopt a more C style for scripts and remove vim settings.
2008-01-11 12:13:46 +00:00
Roy Marples
1f4422c72f
Remove full license text from shell cripts.
2008-01-11 11:45:59 +00:00
Roy Marples
2d95c9a756
Loads of NetBSD tweaks here.
2008-01-10 23:22:46 +00:00
Roy Marples
4314784520
Allow for OS and SUBOS folders so we can introduce NetBSD scripts whilst keeping BSD for all BSD's.
2008-01-10 16:35:59 +00:00
Roy Marples
18adcb1ee8
We may as well use echo here as we recreate mtab fully if successfull.
2008-01-06 23:58:12 +00:00
Mike Frysinger
6ed064504d
the reason we need portmap/rpcbind is so we can communicate with rpc.statd, so make sure we depend on it for nfs mounts
2008-01-01 18:11:45 +00:00
Roy Marples
afdcf1fa15
udev requires try function and the modules-update program should take care of any 2.4 vs 2.6 kernel issues. Also add vim instructions to a few files.
2007-12-14 20:09:53 +00:00
Roy Marples
9f2403dffa
Remove Gentoo copyright from all files that I know I have written
2007-12-14 14:12:38 +00:00
Roy Marples
0df6d640f7
Use yesno more
2007-12-09 13:49:20 +00:00
Roy Marples
0490a9290a
Remove rc_service_wait as runscript.c should do the waiting. 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-05 17:48:07 +00:00
Roy Marples
16ad975b2d
Allow services to define which extra commands require the service to be started
2007-11-29 16:23:59 +00:00
Roy Marples
82df7e4584
Use shorthand for loops
2007-11-29 11:23:06 +00:00
Roy Marples
ac9279cc0d
Massive whitespace cleanup
2007-11-28 15:45:03 +00:00
Roy Marples
97f707db0d
FreeBSD-7 and NetBSD support tmpfs, so try and use this first.
2007-11-28 10:06:13 +00:00
Roy Marples
d81def80b0
Move /etc/conf.d/rc to /etc/rc.conf.
...
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-23 12:04:11 +00:00