+ sw default param = update
no longer need to provide "update" for sw updates
This commit is contained in:
@@ -85,6 +85,10 @@ shopt -u extglob
|
|||||||
shopt -s extglob
|
shopt -s extglob
|
||||||
if [ $operation == "sw" ] || [ $operation == "software" ] ; then
|
if [ $operation == "sw" ] || [ $operation == "software" ] ; then
|
||||||
|
|
||||||
|
if [ -z "${parameter_1}" ]; then
|
||||||
|
parameter_1=update
|
||||||
|
fi
|
||||||
|
|
||||||
if [ $parameter_1 == "update" ] ; then
|
if [ $parameter_1 == "update" ] ; then
|
||||||
if [ -z "${parameter_2}" ]; then
|
if [ -z "${parameter_2}" ]; then
|
||||||
parameter_2=$HOSTNAME
|
parameter_2=$HOSTNAME
|
||||||
|
|||||||
Reference in New Issue
Block a user