source:
MondoRescue/trunk/mindi/rootfs/sbin/MyInsmod@
3668
Last change on this file since 3668 was 903, checked in by , 18 years ago | |
---|---|
|
|
File size: 236 bytes |
Rev | Line | |
---|---|---|
[1] | 1 | #!/bin/sh |
2 | ||
3 | res=99 | |
4 | for i in insmod.static insmod busybox ; do | |
5 | if [ "$i" = "busybox" ] ; then | |
[903] | 6 | $i insmod $* 2> /dev/null |
[1] | 7 | else |
[903] | 8 | $i $* 2> /dev/null |
[1] | 9 | fi |
10 | res=$? | |
11 | [ "$res" -eq "0" ] && exit $res | |
12 | done | |
13 | exit $res |
Note:
See TracBrowser
for help on using the repository browser.