- Timestamp:
- Dec 21, 2016, 6:00:08 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.3/mondo/src/mondorestore/mondo-rstr-tools.c
r3634 r3635 602 602 run_program_and_log_output("mkdir -p " MNT_RESTORING "/var/run/console", 0); 603 603 run_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 */ 605 607 run_program_and_log_output("rm -f " MNT_RESTORING "/var/run/*.pid", 1); 606 608 run_program_and_log_output("rm -f " MNT_RESTORING "/var/lock/subsys/*", 1);
Note:
See TracChangeset
for help on using the changeset viewer.