diff options
Diffstat (limited to 'target/device/Atmel/atngw100/target_skeleton/etc/init.d/S10modules-init')
-rwxr-xr-x | target/device/Atmel/atngw100/target_skeleton/etc/init.d/S10modules-init | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/target/device/Atmel/atngw100/target_skeleton/etc/init.d/S10modules-init b/target/device/Atmel/atngw100/target_skeleton/etc/init.d/S10modules-init index d1fcc26e3..e2cf4e303 100755 --- a/target/device/Atmel/atngw100/target_skeleton/etc/init.d/S10modules-init +++ b/target/device/Atmel/atngw100/target_skeleton/etc/init.d/S10modules-init @@ -2,9 +2,9 @@ MODPROBE=/sbin/modprobe -echo -n "Probing modules:" +echo -n "Probing modules: " if [ ! -x "${MODPROBE}" -o ! -f "/etc/modules" ]; then - echo " missing" + echo "missing" exit 1 else echo @@ -13,7 +13,7 @@ fi grep '^[^#]' "/etc/modules" | \ while read module args; do [ "$module" ] || continue - if ${MODPROBE} $module $args > /dev/null 2> /dev/null; then + if ${MODPROBE} $module $args; then echo " $module loaded" else echo " $module failed" |