Changeset 1759 in MondoRescue for branches/2.2.5/mindi
- Timestamp:
- Nov 1, 2007, 3:17:23 PM (16 years ago)
- Location:
- branches/2.2.5/mindi
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.5/mindi/install.sh
r1712 r1759 77 77 install -m 755 analyze-my-lvm $locallib/mindi 78 78 install -m 644 isolinux.cfg msg-txt sys-disk.raw.gz isolinux-H.cfg syslinux.cfg syslinux-H.cfg dev.tgz $locallib/mindi 79 install -m 644 deplist.txt $conf79 install -m 644 deplist.txt udev.files $conf 80 80 81 81 # Substitute variables for mindi -
branches/2.2.5/mindi/mindi
r1756 r1759 2780 2780 2781 2781 # Management of udev (which includes modprobe in rules) 2782 ps auxww | grep -v grep | grep -q /udevd2782 ps auxww | grep -v grep | grep -qw udevd 2783 2783 if [ $? -eq 0 ]; then 2784 2784 echo "udev device manager found" > tmp/USE-UDEV 2785 LogIt "udev device manager found" 2785 2786 cp --parents -Rdf /etc/udev . 2> /dev/null 2786 2787 cp --parents -Rdf /lib/udev /lib64/udev . 2> /dev/null 2787 2788 if [ -x /sbin/udevd ]; then 2788 LocateDeps /sbin/udevd /sbin/modprobe /sbin/insmod > $MINDI_TMP/udev.lis 2789 rm -f sbin/modprobe sbin/insmod 2790 cp --parents -Rdf /sbin/udevd /sbin/modprobe /sbin/insmod `sort -u $MINDI_TMP/udev.lis` . 2789 lis=`grep -Ev'^#' $MINDI_CONF/udev.files` 2790 LocateDeps $lis > $MINDI_TMP/udev.lis 2791 for i in $lis; do 2792 if [ "`echo $i | cut -c1`" = "/" ]; then 2793 j=`echo $i | cut -c2-` 2794 rm -f $j 2795 fi 2796 done 2797 cp --parents -Rdf $lis `sort -u $MINDI_TMP/udev.lis` . 2791 2798 rm -f $MINDI_TMP/udev.lis 2792 2799 else -
branches/2.2.5/mindi/rootfs/sbin/init
r1752 r1759 280 280 PKLVL=`cut -f1 /proc/sys/kernel/printk` 281 281 echo 0 > /proc/sys/kernel/printk 282 /sbin/udevd --daemon 282 if [ -x /sbin/startudev ]; then 283 /sbin/startudev 284 fi 285 # Depending on udevd version it gives back the hand or not :-( 286 /sbin/udevd --daemon & 287 sleep 2 283 288 echo $PKLVL > /proc/sys/kernel/printk 284 # Avoidsshell error messages289 # May avoid shell error messages 285 290 chmod 644 /dev/tty* 286 291 }
Note:
See TracChangeset
for help on using the changeset viewer.