source:
MondoRescue/trunk/mindi/rootfs/sbin/MyInsmod@
495
| Last change on this file since 495 was 30, checked in by , 20 years ago | |
|---|---|
|
|
| File size: 210 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 | |
| 6 | $i insmod $* | |
| 7 | else | |
| 8 | $i $* | |
| 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.
