source: MondoRescue/branches/stable/mindi/rootfs/sbin/MyInsmod@ 875

Last change on this file since 875 was 866, checked in by Bruno Cornec, 18 years ago
  • tabs inserted for scripts
  • MyInsmod should be less verbose
  • x86_64 directories taken in account in install-additional-tools
  • one useless function removed from init
  • Property svn:keywords set to Id
File size: 236 bytes
Line 
1#!/bin/sh
2
3res=99
4for 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
12done
13exit $res
Note: See TracBrowser for help on using the repository browser.