mirror of
https://github.com/erenfro/gen2stage4.git
synced 2024-11-13 02:38:57 -05:00
updated the prompt message
This commit is contained in:
parent
b82a5c8a5f
commit
90c3ba5d84
1 changed files with 4 additions and 3 deletions
|
@ -112,9 +112,10 @@ TAR_OPTIONS="-cjpP --ignore-failed-read -f"
|
|||
if [ "$AGREE" != "yes" ]
|
||||
then
|
||||
echo "Are you sure that you want to make a stage 4 tarball of the system"
|
||||
echo "located under $TARGET ?"
|
||||
echo "located under the following directory?"
|
||||
echo "$TARGET"
|
||||
echo ""
|
||||
echo "!!! The option --exclude=${TARGET}mnt/*/* is not yet tested! It should"
|
||||
echo "!!! The option --exclude=/mnt/*/* is not yet tested! It should"
|
||||
echo "include all the mount points, but exclude mounted data."
|
||||
echo ""
|
||||
echo "WARNING: since all data is saved by default the user should exclude all"
|
||||
|
@ -122,7 +123,7 @@ then
|
|||
echo "already excluded by mkstage4 options (such as -c), manually per cmdline."
|
||||
echo "example: \$ `basename $0` -s /my-backup --exclude=/etc/ssh/ssh_host*"
|
||||
echo ""
|
||||
echo -e "COMMAND LINE PREVIEW:\n\$"
|
||||
echo -e "COMMAND LINE PREVIEW:"
|
||||
echo "cd $TARGET && tar $TAR_OPTIONS $STAGE4_FILENAME * $EXCLUDES $OPTIONS"
|
||||
echo ""
|
||||
echo -n "Type \"yes\" to continue or anything else to quit: "
|
||||
|
|
Loading…
Reference in a new issue