diff options
author | Roy Marples <roy@marples.name> | 2008-02-19 14:29:20 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2008-02-19 14:29:20 +0000 |
commit | 42bfd7b6dc6d1ebc49c1c6b24e21772df4f6967b (patch) | |
tree | b9e514617292c7ad1bf8df15b262beb42278e0f4 /init.d.Linux/modules | |
parent | 0364bb2c84bff631e0f765254fc6bf3353950128 (diff) |
Move the shell code to check for RC_SYS to the keywords dependency.
Diffstat (limited to 'init.d.Linux/modules')
-rwxr-xr-x | init.d.Linux/modules | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/init.d.Linux/modules b/init.d.Linux/modules index f4f9a895..f29d0a15 100755 --- a/init.d.Linux/modules +++ b/init.d.Linux/modules @@ -7,13 +7,14 @@ description="Loads a user defined list of kernel modules." depend() { use isapnp + keywords novps } start() { # Should not fail if kernel do not have module # support compiled in ... - [ ! -f /proc/modules -o "${RC_SYS}" = "VPS" ] && return 0 + [ ! -f /proc/modules ] && return 0 local KV=$(uname -r) local KV_MAJOR=${KV%%.*} |