mirror of
https://github.com/flynx/proxmox-utils.git
synced 2025-10-28 18:50:08 +00:00
Merge branch 'master' of github.com:flynx/proxmox-utils
This commit is contained in:
commit
ce191db75d
@ -16,20 +16,19 @@ readConfig
|
|||||||
|
|
||||||
|
|
||||||
#----------------------------------------------------------------------
|
#----------------------------------------------------------------------
|
||||||
|
# CLI...
|
||||||
# XXX handle commandline args...
|
|
||||||
|
|
||||||
usage(){
|
usage(){
|
||||||
echo "$0 FROM TO"
|
echo "$0 FROM TO"
|
||||||
}
|
}
|
||||||
|
|
||||||
# XXX should we check for >2 ???
|
|
||||||
if [ $# != 2 ] ; then
|
if [ $# != 2 ] ; then
|
||||||
echo "$(usage)"
|
usage
|
||||||
echo "Not enough arguments."
|
echo "Not enough arguments."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# XXX should we get FROm from config???
|
||||||
FROM=$1
|
FROM=$1
|
||||||
TO=$2
|
TO=$2
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user