source:
MondoRescue/trunk/mindi/rootfs/sbin/MyInsmod@
1744
| Last change on this file since 1744 was 903, checked in by , 19 years ago | |
|---|---|
|
|
| File size: 236 bytes | |
| Line | |
|---|---|
| 1 | #!/bin/sh |
| 2 | |
| 3 | res=99 |
| 4 | for i in insmod.static insmod busybox ; do |
| 5 | if [ "$i" = "busybox" ] ; then |
| 6 | $i insmod $* 2> /dev/null |
| 7 | else |
| 8 | $i $* 2> /dev/null |
| 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.
