Changeset 3635 in MondoRescue


Ignore:
Timestamp:
Dec 21, 2016, 6:00:08 PM (7 years ago)
Author:
Bruno Cornec
Message:

Remove the mv of DCOP files and the likes - doesn't work and probably useless these days.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.3/mondo/src/mondorestore/mondo-rstr-tools.c

    r3634 r3635  
    602602run_program_and_log_output("mkdir -p " MNT_RESTORING "/var/run/console", 0);
    603603run_program_and_log_output("chmod 666 " MNT_RESTORING "/dev/null", 0);
    604 run_program_and_log_output("cd " MNT_RESTORING "; for i in `ls home/`; do echo \"Moving $i's spurious files to $i/.disabled\"; mkdir \"$i\"/.disabled ; mv -f \"$i\"/.DCOP* \"$i\"/.MCOP* \"$i\"/.*authority \"$i\"/.kde/tmp* \"$i\"/.kde/socket* \"$i\"/.disabled/ ; done", 1);
     604/* This doesn't work as the mkdir should be done in home ! Maybe time to remove
     605   run_program_and_log_output("cd " MNT_RESTORING "; for i in `ls home/`; do echo \"Moving $i's spurious files to $i/.disabled\"; mkdir \"$i\"/.disabled ; mv -f \"$i\"/.DCOP* \"$i\"/.MCOP* \"$i\"/.*authority \"$i\"/.kde/tmp* \"$i\"/.kde/socket* \"$i\"/.disabled/ ; done", 1);
     606   */
    605607run_program_and_log_output("rm -f " MNT_RESTORING "/var/run/*.pid", 1);
    606608run_program_and_log_output("rm -f " MNT_RESTORING "/var/lock/subsys/*", 1);
Note: See TracChangeset for help on using the changeset viewer.