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/checkroot | |
parent | f40f7528be64269af7a5401af95dd37d398a5b31 (diff) |
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/checkroot')
-rwxr-xr-x | init.d/checkroot | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/init.d/checkroot b/init.d/checkroot index 1397374a..acfb914a 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 |