shift
miniargs=$*
[ -z "$*" ] && miniargs="-b 115200"
- tty=/dev/`list_servers|cut -d";" -f3`
+ tty=/dev/`list_servers|grep $node|cut -d";" -f3`
minicom -o -D $tty $miniargs
;;
*)
echo "Valid actions are: "
echo " list"
echo " reboot"
- echo " shutdown"
- echo " poweron"
+ echo " on"
+ echo " off"
echo " term"
;;
esac