Changeset 3523 in MondoRescue for branches/3.2
- Timestamp:
- Mar 3, 2016, 9:08:01 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2/mindi/mindi
r3522 r3523 2612 2612 echo "udev device manager found" > $mountpoint/tmp/USE-UDEV 2613 2613 LogFile "INFO: udev device manager found" 2614 tar cf - -C / /etc/udev 2> $templog | tar xf -|| LogIt "ERROR: Problem in /etc/udev analysis" $templog2614 tar cf - -C / /etc/udev 2> $templog | (cd $mountpoint ; tar xf -) || LogIt "ERROR: Problem in /etc/udev analysis" $templog 2615 2615 # This avoids NIC remapping if on another machine at restore time on Debian/Ubuntu at least 2616 2616 rm -f ./etc/udev/rules.d/[z]*[0-9][0-9][-_]persistent-net.rules 2617 2617 # Do not do it if it's a link (Ubuntu 64 bits #503) 2618 2618 if [ -e "/lib64/udev" ] && [ ! -h "/lib64" ] && [ ! -h "/lib64/udev" ]; then 2619 tar cf - -C / /lib64/udev 2> $templog | tar xf -|| LogIt "ERROR: Problem in /lib64/udev analysis" $templog2619 tar cf - -C / /lib64/udev 2> $templog | (cd $mountpoint ; tar xf -) || LogIt "ERROR: Problem in /lib64/udev analysis" $templog 2620 2620 fi 2621 2621 if [ -e "/lib32/udev" ] && [ ! -h "/lib32" ] && [ ! -h "/lib32/udev" ]; then 2622 tar cf - -C / /lib32/udev 2> $templog | tar xf -|| LogIt "ERROR: Problem in /lib32/udev analysis" $templog2622 tar cf - -C / /lib32/udev 2> $templog | (cd $mountpoint ; tar xf -) || LogIt "ERROR: Problem in /lib32/udev analysis" $templog 2623 2623 fi 2624 2624 if [ -e "/lib/udev" ] && [ ! -h "/lib" ] && [ ! -h "/lib/udev" ]; then 2625 tar cf - -C / /lib/udev 2> $templog | tar xf -|| LogIt "ERROR: Problem in /lib/udev analysis" $templog2625 tar cf - -C / /lib/udev 2> $templog | (cd $mountpoint ; tar xf -) || LogIt "ERROR: Problem in /lib/udev analysis" $templog 2626 2626 fi 2627 2627 if [ -e "/usr/lib/udev" ] && [ ! -h "/usr/lib" ] && [ ! -h "/usr/lib/udev" ]; then 2628 tar cf - -C / /usr/lib/udev 2> $templog | tar xf -|| LogIt "ERROR: Problem in /usr/lib/udev analysis" $templog2628 tar cf - -C / /usr/lib/udev 2> $templog | (cd $mountpoint ; tar xf -) || LogIt "ERROR: Problem in /usr/lib/udev analysis" $templog 2629 2629 fi 2630 2630 if [ -x /sbin/udevd ] || [ -x /usr/bin/udevd ] || [ -x /usr/lib/systemd/systemd-udevd ] || [ -x /lib/systemd/systemd-udevd ]; then
Note:
See TracChangeset
for help on using the changeset viewer.