28d7a19201
Allow rc_$service_$deptype in rc.conf
Roy Marples2008-01-02 15:42:52 +00:00
fadee8e656
Move _shell_var shell function to shell_var C applet
Roy Marples2008-01-02 15:38:37 +00:00
e5933843e8
_opts -> _args to match other scripts
Roy Marples2008-01-02 10:28:27 +00:00
ca55270ab0
Merge branch 'master' of git@git.overlays.gentoo.org:proj/openrc
Roy Marples2008-01-02 09:42:15 +00:00
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
Mike Frysinger2008-01-01 18:11:45 +00:00
1dcfacfbc2
Merge branch 'master' of git@git.overlays.gentoo.org:proj/openrc
Roy Marples2007-12-31 09:56:32 +00:00
409e73bc29
dont pollute namespace with our own local restrict keyword
Mike Frysinger2007-12-30 17:55:44 +00:00
b6fcfd1157
We should export SVCNAME so service_* functions work in depend
Roy Marples2007-12-30 16:59:56 +00:00
f97a5cd9cb
Merge branch 'master' of git@git.overlays.gentoo.org:proj/openrc
Roy Marples2007-12-29 18:59:48 +00:00
3bf35803da
Clean the failed dir when we start and end rc so that failed services can be re-attempted outside of rc
Roy Marples2007-12-29 18:59:24 +00:00
0ddc38960c
Move net.example to /usr/share/doc/openrc
Roy Marples2007-12-29 17:25:00 +00:00
cd45e54357
Introduce cbasename so we don't have to strdup(basename) and free all the time.
Roy Marples2007-12-19 12:46:08 +00:00
2f7218c984
Make checkown --user --group behave more like chown
Roy Marples2007-12-19 10:49:03 +00:00
47887ac7c3
usage now requires a global applet var instead of a define, don't prefix describe output and use generic usage for runscript.
Roy Marples2007-12-18 18:01:05 +00:00
c556731ad3
Allow service_* functions to work off SVCNAME if no arguments passed
Roy Marples2007-12-18 16:51:59 +00:00
05a9d0e25e
Allow service_* functions to work off SVCNAME if no arguments passed
Roy Marples2007-12-18 16:48:56 +00:00
e4b73c506b
Describe extra_started_commands also.
Roy Marples2007-12-17 14:29:19 +00:00
4a4f808a0f
Rework the manpages into mdoc format for easier maintainence
Roy Marples2007-12-17 10:14:54 +00:00
33dac46299
savecore happens before swap, so don't depend on it.
Roy Marples2007-12-14 23:11:54 +00:00
6f41b4de60
savecore happens before swap, so don't depend on it.
Roy Marples2007-12-14 23:11:33 +00:00
e41249b450
savecore happens before swap, so don't depend on it.
Roy Marples2007-12-14 23:10:58 +00:00
d2e3fcae3c
Our tools should not inherit EINFO_QUIET from the curret environmet, Gentoo bug #201352Roy Marples2007-12-14 23:01:28 +00:00
10edca8e0e
Only assume the current runlevel if none specified
Roy Marples2007-12-14 23:00:29 +00:00
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.
Roy Marples2007-12-14 20:09:53 +00:00
a010d0bb69
Remove the try and check_statedir functions
Roy Marples2007-12-14 14:19:03 +00:00
9f2403dffa
Remove Gentoo copyright from all files that I know I have written
Roy Marples2007-12-14 14:12:38 +00:00
a3db3bac62
Allow services to be in /usr/local/etc/init.d, but disallow them being added to the boot runlevel.
Roy Marples2007-12-14 12:24:16 +00:00
b73bd04cf3
If we need to regenrate the deptree in the boot runlevel, remove it afterwards as the dependencies may need programs brought up by localmount. The dependencies will be regenerated correctly in the next runlevel.
Roy Marples2007-12-14 12:23:13 +00:00
f8db842dd2
Default to correct init dir and preserve depconfig
Roy Marples2007-12-14 12:17:57 +00:00
5541d3e385
We should only do colours if fd1 is a terminal by default
Roy Marples2007-12-14 12:16:05 +00:00
7a18054fbe
Only configure SSID if we are running on a wireless interface.
Roy Marples2007-12-10 16:25:29 +00:00
159fc8b4ad
Fix wpa_supplicant configuring per ssid
Roy Marples2007-12-10 16:19:04 +00:00
2c3c27e251
Mirror the action of rc-update in baselayout-1, with the exception of adding to the currnet runlevel if no runlevel specified.
Roy Marples2007-12-08 12:10:45 +00:00
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.
Roy Marples2007-12-05 17:48:07 +00:00