You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

10 lines
184 B

#!/bin/sh
[ "$ACTION" = remove ] && action='-r -a'
. /etc/init.d/globals
for module in "$@"; do
modprobe $action $module &&
LOGINFO "${ACTION:-scan} module $module succeed"
done