079e5e820c
Don't specify a blank DESTDIR so we inherit from the env
Roy Marples
2008-01-03 09:24:22 +00:00
301c378ffe
Make depend a global target
Roy Marples
2008-01-02 17:28:35 +00:00
6cee86071e
Add + for parallel make to work.
Roy Marples
2008-01-02 17:28:19 +00:00
b204eb57dc
Really dd depend target
Roy Marples
2008-01-02 17:07:44 +00:00
0855e685bd
Add depend target
Roy Marples
2008-01-02 17:02:33 +00:00
28d7a19201
Allow rc_$service_$deptype in rc.conf
Roy Marples
2008-01-02 15:42:52 +00:00
fadee8e656
Move _shell_var shell function to shell_var C applet
Roy Marples
2008-01-02 15:38:37 +00:00
e5933843e8
_opts -> _args to match other scripts
Roy Marples
2008-01-02 10:28:27 +00:00
ca55270ab0
Merge branch 'master' of git@git.overlays.gentoo.org:proj/openrc
Roy Marples
2008-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 Frysinger
2008-01-01 18:11:45 +00:00
1dcfacfbc2
Merge branch 'master' of git@git.overlays.gentoo.org:proj/openrc
Roy Marples
2007-12-31 09:56:32 +00:00
a273f8df55
Fix the adding of default routes
Roy Marples
2007-12-31 09:28:53 +00:00
b6aa56ce14
Fix metric_$IFVAR
Roy Marples
2007-12-31 09:28:34 +00:00
0a28d69413
iproute2 uses via, not gw
Roy Marples
2007-12-31 09:26:53 +00:00
409e73bc29
dont pollute namespace with our own local restrict keyword
Mike Frysinger
2007-12-30 17:55:44 +00:00
b6fcfd1157
We should export SVCNAME so service_* functions work in depend
Roy Marples
2007-12-30 16:59:56 +00:00
f97a5cd9cb
Merge branch 'master' of git@git.overlays.gentoo.org:proj/openrc
Roy Marples
2007-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 Marples
2007-12-29 18:59:24 +00:00
0ddc38960c
Move net.example to /usr/share/doc/openrc
Roy Marples
2007-12-29 17:25:00 +00:00
4af969587e
Install the modules config file
Roy Marples
2007-12-28 23:56:37 +00:00
75a8f1ff19
modules init script now uses it's own config file instead of random foo in /etc
Roy Marples
2007-12-28 22:41:19 +00:00
c36c5d0471
Add whitespace as conf is appended
Roy Marples
2007-12-28 15:35:23 +00:00
634a64129e
Prefer ifplugd over netplugd
Roy Marples
2007-12-28 15:23:43 +00:00
b768255ee4
Don't install relative symlinks
Roy Marples
2007-12-28 15:21:59 +00:00
0c47c56cea
Although OpenRC requires C99, linking to us should not.
Roy Marples
2007-12-28 15:07:28 +00:00
aa719aa295
Relative links seem to cause an issue, so don't use them.
Roy Marples
2007-12-28 12:05:03 +00:00
d5684c26f9
runlevel links are not relavtive, so don't install defaults as such.
Roy Marples
2007-12-28 11:59:42 +00:00
69fe6844eb
net modules should always be installed
Roy Marples
2007-12-28 09:38:31 +00:00
e658ac6c8f
Add a license and do more quoting
Roy Marples
2007-12-27 20:41:08 +00:00
dd69fb66b9
Fix RC_COLDPLUG shim for real.
Roy Marples
2007-12-27 17:17:37 +00:00
68a42629d7
Add a misc var section and add unicode to it.
Roy Marples
2007-12-27 16:54:10 +00:00
6d23d11a90
We no longer install rmnologin
Roy Marples
2007-12-27 16:53:40 +00:00
40c93d6248
Supply a default $INSTALL for GNU make.
Roy Marples
2007-12-27 16:53:14 +00:00
4b6a27fdf9
Don't allow RPATH of . to escape to a tarball.
Roy Marples
2007-12-27 16:52:35 +00:00
3f079ce495
Fix display
Roy Marples
2007-12-27 16:51:31 +00:00
11c3b5ed6c
whitespace
Roy Marples
2007-12-24 22:37:44 +00:00
3e8695f6f0
Automagically link our man pages.
Roy Marples
2007-12-24 22:34:22 +00:00
c876853859
add comma
Roy Marples
2007-12-24 22:34:08 +00:00
5741ad634d
Add man pages for all librc functions.
Roy Marples
2007-12-24 22:03:27 +00:00
7de72229a5
Remove forces spaces from ebracket and ensure ok matches eend output.
Roy Marples
2007-12-24 13:55:40 +00:00
5ee9dfff6d
rc-update show not default to show
Roy Marples
2007-12-24 13:54:24 +00:00
28a74e2125
Add document ebracket
Roy Marples
2007-12-24 12:06:45 +00:00
fcb7ab641c
Add a man page for einfo.3
Roy Marples
2007-12-24 11:48:33 +00:00
851cf10986
Don't mix code and decs
Roy Marples
2007-12-20 18:49:44 +00:00
cbea91cae5
Remove rc-help.sh and replace with a man page for runscript 8.
Roy Marples
2007-12-20 17:39:13 +00:00
e4575849be
Add a manpage for rc.8
Roy Marples
2007-12-20 15:54:19 +00:00
f1d1281c04
Let service_started_daemon work off SVCNAME
Roy Marples
2007-12-20 15:44:38 +00:00
0560b64fcb
Add restrict keyword to einfo
Roy Marples
2007-12-20 15:15:53 +00:00
c474b810af
Constant data and pointers
Roy Marples
2007-12-20 15:02:04 +00:00
6b37d16a22
Fix service_*_value
Roy Marples
2007-12-20 13:18:46 +00:00
f02d9b6f6f
checkown -> checkpath
Roy Marples
2007-12-19 14:46:38 +00:00
ed620aec61
get_options -> service_get_value and save_options -> service_set_value
Roy Marples
2007-12-19 14:28:38 +00:00
bc9cc3dfb5
No need for that include
Roy Marples
2007-12-19 14:08:33 +00:00
4022522a81
cbasename -> basename_c
Roy Marples
2007-12-19 13:53:52 +00:00
b3df16a03e
syslogd uses net
Roy Marples
2007-12-19 12:46:45 +00:00
cd45e54357
Introduce cbasename so we don't have to strdup(basename) and free all the time.
Roy Marples
2007-12-19 12:46:08 +00:00
2f7218c984
Make checkown --user --group behave more like chown
Roy Marples
2007-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 Marples
2007-12-18 18:01:05 +00:00
437363a344
We no longer need SVCNAME here
Roy Marples
2007-12-18 17:59:29 +00:00
c556731ad3
Allow service_* functions to work off SVCNAME if no arguments passed
Roy Marples
2007-12-18 16:51:59 +00:00
05a9d0e25e
Allow service_* functions to work off SVCNAME if no arguments passed
Roy Marples
2007-12-18 16:48:56 +00:00
e4b73c506b
Describe extra_started_commands also.
Roy Marples
2007-12-17 14:29:19 +00:00
4a4f808a0f
Rework the manpages into mdoc format for easier maintainence
Roy Marples
2007-12-17 10:14:54 +00:00
33dac46299
savecore happens before swap, so don't depend on it.
Roy Marples
2007-12-14 23:11:54 +00:00
6f41b4de60
savecore happens before swap, so don't depend on it.
Roy Marples
2007-12-14 23:11:33 +00:00
e41249b450
savecore happens before swap, so don't depend on it.
Roy Marples
2007-12-14 23:10:58 +00:00
d2e3fcae3c
Our tools should not inherit EINFO_QUIET from the curret environmet, Gentoo bug #201352
Roy Marples
2007-12-14 23:01:28 +00:00
10edca8e0e
Only assume the current runlevel if none specified
Roy Marples
2007-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 Marples
2007-12-14 20:09:53 +00:00
584cea1f8e
Add some avahi scripts
Roy Marples
2007-12-14 15:49:25 +00:00
a010d0bb69
Remove the try and check_statedir functions
Roy Marples
2007-12-14 14:19:03 +00:00
9f2403dffa
Remove Gentoo copyright from all files that I know I have written
Roy Marples
2007-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 Marples
2007-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 Marples
2007-12-14 12:23:13 +00:00
f8db842dd2
Default to correct init dir and preserve depconfig
Roy Marples
2007-12-14 12:17:57 +00:00
5541d3e385
We should only do colours if fd1 is a terminal by default
Roy Marples
2007-12-14 12:16:05 +00:00
7a18054fbe
Only configure SSID if we are running on a wireless interface.
Roy Marples
2007-12-10 16:25:29 +00:00
159fc8b4ad
Fix wpa_supplicant configuring per ssid
Roy Marples
2007-12-10 16:19:04 +00:00
39b7394d93
uppercase values
Roy Marples
2007-12-09 13:52:03 +00:00
f71beafa16
uppercase values
Roy Marples
2007-12-09 13:50:41 +00:00
62bbbf7f31
normalise var name
Roy Marples
2007-12-09 13:49:43 +00:00
0df6d640f7
Use yesno more
Roy Marples
2007-12-09 13:49:20 +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 Marples
2007-12-08 12:10:45 +00:00
9a6cfc0a9b
Add termcap support.
Roy Marples
2007-12-08 02:50:35 +00:00
0451576374
whitespace
Roy Marples
2007-12-07 14:33:37 +00:00
2b107a992b
Ensure that hostid starts early
Roy Marples
2007-12-07 14:32:57 +00:00
b1569127b4
Just check that ecolor returns a string > 0
Roy Marples
2007-12-07 14:32:28 +00:00
acf425e822
Include time.h on linux
Roy Marples
2007-12-07 14:31:51 +00:00
17585a3c04
Don't be spammy or interactive when we don't output
Roy Marples
2007-12-06 11:16:27 +00:00
d3436344ee
Don't exit in functions.
Roy Marples
2007-12-06 10:49:11 +00:00
a178d53202
Move RC_ to EINFO_ for all env vars related to einfo.
Roy Marples
2007-12-06 10:48:00 +00:00
a31c7cc61e
These don't need to be exec
Roy Marples
2007-12-05 17:49:53 +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 Marples
2007-12-05 17:48:07 +00:00
f40f7528be
Add a nscd init script
Roy Marples
2007-12-05 16:41:54 +00:00
27067e55e5
Add a newsyslog init script
Roy Marples
2007-12-05 16:31:23 +00:00
0f7cb3293a
Add a mixer init script
Roy Marples
2007-12-05 16:22:20 +00:00
4317408027
Add hostid to the boot runlevel
Roy Marples
2007-12-05 16:03:05 +00:00
fa19e8ec4a
Change file perms
Roy Marples
2007-12-05 15:57:26 +00:00
b258e0eb52
Add hostid init script, based on the FreeBSD one.
Roy Marples
2007-12-05 15:57:17 +00:00
07e3d69c52
Our default start command should correctly recover on failed re-entrant services
Roy Marples
2007-12-04 16:15:32 +00:00