Run script from within a script and then continue?
Code:
echo "Run vzmigrate (m) or run vzdump (d) now? or any other key to continue." it just skipped and exitted the script. Can i modiffy anyhow script so it start another script and then when this finish it automatically continue my firs initial script? |
Are you sure it skipped it? Chances are the script you were calling just didn't do anything (errored out, etc). Try running with "set -x".
|
try either of these forms
Code:
if [ <condition> ]; then Code:
if [ <condition> ] Edit, you might want to consider case Code:
read vmsbckp |
All times are GMT -5. The time now is 05:26 AM. |