Do+Able Products 12347 Uživatelský manuál Strana 54

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 57
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 53
Hardware Management Console Best Practices
- 54 -
{
echo "hmcusers: -o [ add | delete ] -h <list of hmc
hosts>"
echo " -l <login> -u <list of user names> -
a <hmc access>"
echo " -o The operation to perform, add or
delete users."
echo " -h The list of HMC perform the
operation."
echo " -l The login to use on HMC to perform
the operation."
echo " -u The list of user to create."
echo " -a The access on HMC."
exit 1
}
while getopts "o:h:l:u:a:" _arg; do
case $_arg in
o) op=$OPTARG
;;
h) hl=$OPTARG
;;
l) lid=$OPTARG
;;
u) ul=$OPTARG
;;
a) access=$OPTARG
;;
*) usage
;;
esac
done
if [ "$op" == "" ]; then
echo "operation not specified"
usage
fi
if [ "$hl" == "" ]; then
echo "host list not specified"
usage
fi
if [ "$lid" == "" ]; then
echo "login id not specified"
usage
fi
if [ "$ul" == "" ]; then
Zobrazit stránku 53
1 2 ... 49 50 51 52 53 54 55 56 57

Komentáře k této Příručce

Žádné komentáře