equal
deleted
inserted
replaced
10 group="wheel" |
10 group="wheel" |
11 fi |
11 fi |
12 |
12 |
13 # invoke insmod with all arguments we got |
13 # invoke insmod with all arguments we got |
14 # and use a pathname, as newer modutils don't look in . by default |
14 # and use a pathname, as newer modutils don't look in . by default |
15 /sbin/insmod -f ./$module.o $* || exit 1 |
15 /sbin/insmod -f ./$module.ko $* || exit 1 |
16 |
16 |
17 major=`cat /proc/devices | awk "\\$2==\"$device\" {print \\$1}"` |
17 major=`cat /proc/devices | awk "\\$2==\"$device\" {print \\$1}"` |
18 |
18 |
19 echo $major |
19 echo $major |
20 # Remove stale nodes and replace them, then give gid and perms |
20 # Remove stale nodes and replace them, then give gid and perms |