diff options
author | Roy Marples <roy@marples.name> | 2007-12-05 17:48:07 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2007-12-05 17:48:07 +0000 |
commit | 0490a9290a6af4a4923cc79fd380bc00a0a702e3 (patch) | |
tree | 5848bf69e4dc0357cc092ed30c974d20154c6469 /init.d | |
parent | f40f7528be64269af7a5401af95dd37d398a5b31 (diff) | |
download | openrc-0490a9290a6af4a4923cc79fd380bc00a0a702e3.tar.gz openrc-0490a9290a6af4a4923cc79fd380bc00a0a702e3.tar.bz2 openrc-0490a9290a6af4a4923cc79fd380bc00a0a702e3.tar.xz |
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.
Diffstat (limited to 'init.d')
-rwxr-xr-x | init.d/bootmisc | 1 | ||||
-rwxr-xr-x | init.d/checkfs | 1 | ||||
-rwxr-xr-x | init.d/checkroot | 4 | ||||
-rwxr-xr-x | init.d/local | 1 |
4 files changed, 7 insertions, 0 deletions
diff --git a/init.d/bootmisc b/init.d/bootmisc index 3ac53a2..f57a708 100755 --- a/init.d/bootmisc +++ b/init.d/bootmisc @@ -29,6 +29,7 @@ depend() { need localmount before logger after clock sysctl + keywords notimeout } cleanup_tmp_dir() { diff --git a/init.d/checkfs b/init.d/checkfs index 4174b9b..c29c519 100755 --- a/init.d/checkfs +++ b/init.d/checkfs @@ -30,6 +30,7 @@ optionally repair them." depend() { need checkroot after modules + keywords notimeout } do_checkfs() { diff --git a/init.d/checkroot b/init.d/checkroot index 1397374..acfb914 100755 --- a/init.d/checkroot +++ b/init.d/checkroot @@ -27,6 +27,10 @@ description="Check the root filesystem according to /etc/fstab for errors \ and optionally repair them." +depend() { + keywords notimeout +} + do_mtab() { # Don't create mtab if /etc is readonly if ! printf "" 2>/dev/null >/etc/mtab; then diff --git a/init.d/local b/init.d/local index 461b4af..d1c30d4 100755 --- a/init.d/local +++ b/init.d/local @@ -29,6 +29,7 @@ and /etc/conf.d/local.stop when stopping." depend() { after * + keywords notimeout } start() { |