diff options
Diffstat (limited to 'init.d.Linux/modules')
-rwxr-xr-x | init.d.Linux/modules | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/init.d.Linux/modules b/init.d.Linux/modules index e6590ca6..d2f25b67 100755 --- a/init.d.Linux/modules +++ b/init.d.Linux/modules @@ -45,7 +45,7 @@ load_modules() { eindent local x= cnt=0 - for x in "$@" ; do + for x in "$@"; do set -- ${x} ebegin "Loading module $1" eval modprobe -q "$@" @@ -92,16 +92,16 @@ start() { auto=/etc/modules.autoload else local x= f="/etc/modules.autoload.d/kernel" - for x in "${KV}" ${KV_MAJOR}.${KV_MINOR}.${KV_MICRO} ${KV_MAJOR}.${KV_MINOR} ; do - if [ -f "${f}-${x}.${RC_SOFTLEVEL}" ] ; then + for x in "${KV}" ${KV_MAJOR}.${KV_MINOR}.${KV_MICRO} ${KV_MAJOR}.${KV_MINOR}; do + if [ -f "${f}-${x}.${RC_SOFTLEVEL}" ]; then auto="${f}-${x}.${RC_SOFTLEVEL}" break fi - if [ "${RC_SOFTLEVEL}" = "${RC_BOOTLEVEL}" -a -f "${f}-${x}.${RC_DEFAULTLEVEL}" ] ; then + if [ "${RC_SOFTLEVEL}" = "${RC_BOOTLEVEL}" -a -f "${f}-${x}.${RC_DEFAULTLEVEL}" ]; then auto="${f}-${x}.${RC_DEFAULTLEVEL}" break fi - if [ -f "${f}-${x}" ] ; then + if [ -f "${f}-${x}" ]; then auto="${f}-${x}" break fi |