Last change
on this file since 3842 was 1967, checked in by Bruno Cornec, 16 years ago |
- Remove all references to /root/images
- Fix the lack of support for options in mondorestore by copying what is done for mondoarchive and sharing the functions analyzing the cli (getopt usage)
- Review the now common handle_incoming_parameters to have it support correctly 2 modes (archiving and restoring)
- Update mondorestore man page to take in account the options supported now
- Replace mondorestore options --nuke, --interactive, with -Z nuke, -Z interactive ...
|
-
Property svn:eol-style
set to
native
|
File size:
348 bytes
|
Rev | Line | |
---|
[1315] | 1 | /*
|
---|
| 2 | * $Id$
|
---|
| 3 | *
|
---|
| 4 | * Definitions for mondorestore
|
---|
| 5 | */
|
---|
| 6 |
|
---|
| 7 | /**
|
---|
| 8 | * Compatibility #define to ease the transition to logfile-in-a-variable.
|
---|
| 9 | */
|
---|
[1644] | 10 | char *MONDO_LOGFILE = "/var/log/mondorestore.log";
|
---|
[1967] | 11 | char *MONDO_OPTIONS = "E:GI:J:K:QRT:UVZ:b:d:ef:gimn:op:tux:z";
|
---|
[1316] | 12 |
|
---|
| 13 | /* Busybox ps has no option and PID in first pos */
|
---|
| 14 | char *ps_options = "";
|
---|
| 15 | char *ps_proc_id = "$1";
|
---|
Note:
See
TracBrowser
for help on using the repository browser.