From 42bfd7b6dc6d1ebc49c1c6b24e21772df4f6967b Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Tue, 19 Feb 2008 14:29:20 +0000 Subject: Move the shell code to check for RC_SYS to the keywords dependency. --- init.d.Linux/modules | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'init.d.Linux/modules') 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%%.*} -- cgit v1.2.3