079e5e820cDon't specify a blank DESTDIR so we inherit from the env
Roy Marples
2008-01-03 09:24:22 +00:00
301c378ffeMake depend a global target
Roy Marples
2008-01-02 17:28:35 +00:00
6cee86071eAdd + for parallel make to work.
Roy Marples
2008-01-02 17:28:19 +00:00
b204eb57dcReally dd depend target
Roy Marples
2008-01-02 17:07:44 +00:00
0855e685bdAdd depend target
Roy Marples
2008-01-02 17:02:33 +00:00
28d7a19201Allow rc_$service_$deptype in rc.conf
Roy Marples
2008-01-02 15:42:52 +00:00
fadee8e656Move _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
ca55270ab0Merge branch 'master' of git@git.overlays.gentoo.org:proj/openrc
Roy Marples
2008-01-02 09:42:15 +00:00
6ed064504dthe 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
1dcfacfbc2Merge branch 'master' of git@git.overlays.gentoo.org:proj/openrc
Roy Marples
2007-12-31 09:56:32 +00:00
a273f8df55Fix the adding of default routes
Roy Marples
2007-12-31 09:28:53 +00:00
b6aa56ce14Fix metric_$IFVAR
Roy Marples
2007-12-31 09:28:34 +00:00
0a28d69413iproute2 uses via, not gw
Roy Marples
2007-12-31 09:26:53 +00:00
409e73bc29dont pollute namespace with our own local restrict keyword
Mike Frysinger
2007-12-30 17:55:44 +00:00
b6fcfd1157We should export SVCNAME so service_* functions work in depend
Roy Marples
2007-12-30 16:59:56 +00:00
f97a5cd9cbMerge branch 'master' of git@git.overlays.gentoo.org:proj/openrc
Roy Marples
2007-12-29 18:59:48 +00:00
3bf35803daClean 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
0ddc38960cMove net.example to /usr/share/doc/openrc
Roy Marples
2007-12-29 17:25:00 +00:00
4af969587eInstall the modules config file
Roy Marples
2007-12-28 23:56:37 +00:00
75a8f1ff19modules 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
c36c5d0471Add whitespace as conf is appended
Roy Marples
2007-12-28 15:35:23 +00:00
634a64129ePrefer ifplugd over netplugd
Roy Marples
2007-12-28 15:23:43 +00:00
b768255ee4Don't install relative symlinks
Roy Marples
2007-12-28 15:21:59 +00:00
0c47c56ceaAlthough OpenRC requires C99, linking to us should not.
Roy Marples
2007-12-28 15:07:28 +00:00
aa719aa295Relative links seem to cause an issue, so don't use them.
Roy Marples
2007-12-28 12:05:03 +00:00
d5684c26f9runlevel links are not relavtive, so don't install defaults as such.
Roy Marples
2007-12-28 11:59:42 +00:00
69fe6844ebnet modules should always be installed
Roy Marples
2007-12-28 09:38:31 +00:00
e658ac6c8fAdd a license and do more quoting
Roy Marples
2007-12-27 20:41:08 +00:00
dd69fb66b9Fix RC_COLDPLUG shim for real.
Roy Marples
2007-12-27 17:17:37 +00:00
68a42629d7Add a misc var section and add unicode to it.
Roy Marples
2007-12-27 16:54:10 +00:00
6d23d11a90We no longer install rmnologin
Roy Marples
2007-12-27 16:53:40 +00:00
40c93d6248Supply a default $INSTALL for GNU make.
Roy Marples
2007-12-27 16:53:14 +00:00
4b6a27fdf9Don't allow RPATH of . to escape to a tarball.
Roy Marples
2007-12-27 16:52:35 +00:00
3f079ce495Fix display
Roy Marples
2007-12-27 16:51:31 +00:00
11c3b5ed6cwhitespace
Roy Marples
2007-12-24 22:37:44 +00:00
3e8695f6f0Automagically link our man pages.
Roy Marples
2007-12-24 22:34:22 +00:00
c876853859add comma
Roy Marples
2007-12-24 22:34:08 +00:00
5741ad634dAdd man pages for all librc functions.
Roy Marples
2007-12-24 22:03:27 +00:00
7de72229a5Remove forces spaces from ebracket and ensure ok matches eend output.
Roy Marples
2007-12-24 13:55:40 +00:00
5ee9dfff6drc-update show not default to show
Roy Marples
2007-12-24 13:54:24 +00:00
28a74e2125Add document ebracket
Roy Marples
2007-12-24 12:06:45 +00:00
fcb7ab641cAdd a man page for einfo.3
Roy Marples
2007-12-24 11:48:33 +00:00
851cf10986Don't mix code and decs
Roy Marples
2007-12-20 18:49:44 +00:00
cbea91cae5Remove rc-help.sh and replace with a man page for runscript 8.
Roy Marples
2007-12-20 17:39:13 +00:00
e4575849beAdd a manpage for rc.8
Roy Marples
2007-12-20 15:54:19 +00:00
f1d1281c04Let service_started_daemon work off SVCNAME
Roy Marples
2007-12-20 15:44:38 +00:00
0560b64fcbAdd restrict keyword to einfo
Roy Marples
2007-12-20 15:15:53 +00:00
c474b810afConstant data and pointers
Roy Marples
2007-12-20 15:02:04 +00:00
6b37d16a22Fix service_*_value
Roy Marples
2007-12-20 13:18:46 +00:00
f02d9b6f6fcheckown -> checkpath
Roy Marples
2007-12-19 14:46:38 +00:00
ed620aec61get_options -> service_get_value and save_options -> service_set_value
Roy Marples
2007-12-19 14:28:38 +00:00
bc9cc3dfb5No need for that include
Roy Marples
2007-12-19 14:08:33 +00:00
4022522a81cbasename -> basename_c
Roy Marples
2007-12-19 13:53:52 +00:00
b3df16a03esyslogd uses net
Roy Marples
2007-12-19 12:46:45 +00:00
cd45e54357Introduce cbasename so we don't have to strdup(basename) and free all the time.
Roy Marples
2007-12-19 12:46:08 +00:00
2f7218c984Make checkown --user --group behave more like chown
Roy Marples
2007-12-19 10:49:03 +00:00
47887ac7c3usage 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
437363a344We no longer need SVCNAME here
Roy Marples
2007-12-18 17:59:29 +00:00
c556731ad3Allow service_* functions to work off SVCNAME if no arguments passed
Roy Marples
2007-12-18 16:51:59 +00:00
05a9d0e25eAllow service_* functions to work off SVCNAME if no arguments passed
Roy Marples
2007-12-18 16:48:56 +00:00
e4b73c506bDescribe extra_started_commands also.
Roy Marples
2007-12-17 14:29:19 +00:00
4a4f808a0fRework the manpages into mdoc format for easier maintainence
Roy Marples
2007-12-17 10:14:54 +00:00
33dac46299savecore happens before swap, so don't depend on it.
Roy Marples
2007-12-14 23:11:54 +00:00
6f41b4de60savecore happens before swap, so don't depend on it.
Roy Marples
2007-12-14 23:11:33 +00:00
e41249b450savecore happens before swap, so don't depend on it.
Roy Marples
2007-12-14 23:10:58 +00:00
d2e3fcae3cOur tools should not inherit EINFO_QUIET from the curret environmet, Gentoo bug #201352
Roy Marples
2007-12-14 23:01:28 +00:00
10edca8e0eOnly assume the current runlevel if none specified
Roy Marples
2007-12-14 23:00:29 +00:00
afdcf1fa15udev 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
584cea1f8eAdd some avahi scripts
Roy Marples
2007-12-14 15:49:25 +00:00
a010d0bb69Remove the try and check_statedir functions
Roy Marples
2007-12-14 14:19:03 +00:00
9f2403dffaRemove Gentoo copyright from all files that I know I have written
Roy Marples
2007-12-14 14:12:38 +00:00
a3db3bac62Allow 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
b73bd04cf3If 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
f8db842dd2Default to correct init dir and preserve depconfig
Roy Marples
2007-12-14 12:17:57 +00:00
5541d3e385We should only do colours if fd1 is a terminal by default
Roy Marples
2007-12-14 12:16:05 +00:00
7a18054fbeOnly configure SSID if we are running on a wireless interface.
Roy Marples
2007-12-10 16:25:29 +00:00
159fc8b4adFix wpa_supplicant configuring per ssid
Roy Marples
2007-12-10 16:19:04 +00:00
39b7394d93uppercase values
Roy Marples
2007-12-09 13:52:03 +00:00
f71beafa16uppercase values
Roy Marples
2007-12-09 13:50:41 +00:00
62bbbf7f31normalise var name
Roy Marples
2007-12-09 13:49:43 +00:00
0df6d640f7Use yesno more
Roy Marples
2007-12-09 13:49:20 +00:00
2c3c27e251Mirror 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
9a6cfc0a9bAdd termcap support.
Roy Marples
2007-12-08 02:50:35 +00:00
0451576374whitespace
Roy Marples
2007-12-07 14:33:37 +00:00
2b107a992bEnsure that hostid starts early
Roy Marples
2007-12-07 14:32:57 +00:00
b1569127b4Just check that ecolor returns a string > 0
Roy Marples
2007-12-07 14:32:28 +00:00
acf425e822Include time.h on linux
Roy Marples
2007-12-07 14:31:51 +00:00
17585a3c04Don't be spammy or interactive when we don't output
Roy Marples
2007-12-06 11:16:27 +00:00
d3436344eeDon't exit in functions.
Roy Marples
2007-12-06 10:49:11 +00:00
a178d53202Move RC_ to EINFO_ for all env vars related to einfo.
Roy Marples
2007-12-06 10:48:00 +00:00
a31c7cc61eThese don't need to be exec
Roy Marples
2007-12-05 17:49:53 +00:00
0490a9290aRemove 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
f40f7528beAdd a nscd init script
Roy Marples
2007-12-05 16:41:54 +00:00
27067e55e5Add a newsyslog init script
Roy Marples
2007-12-05 16:31:23 +00:00
0f7cb3293aAdd a mixer init script
Roy Marples
2007-12-05 16:22:20 +00:00
4317408027Add hostid to the boot runlevel
Roy Marples
2007-12-05 16:03:05 +00:00
fa19e8ec4aChange file perms
Roy Marples
2007-12-05 15:57:26 +00:00
b258e0eb52Add hostid init script, based on the FreeBSD one.
Roy Marples
2007-12-05 15:57:17 +00:00
07e3d69c52Our default start command should correctly recover on failed re-entrant services
Roy Marples
2007-12-04 16:15:32 +00:00