Powermanager
De WikiMar
SilverShield SIS-PM
Gembird
Install in Ubuntu
sudo apt-get install sispmctl
Scripts
poweronB
#!/bin/bash echo -e "\e[92m" # green #sudo sispmctl -D 01:81:7f:02:00 -o $1 sudo sispmctl -D 01:01:56:c2:4e -o $1 if [ -n "$2" ]; then echo cd $2 fi
poweronWAIT
#!/bin/bash if [ "$#" -eq 0 ]; then echo "Illegal number of parameters" sleep 60 exit 1 fi #echo -e "\e[104m" #light blue background echo -ne "\e[104mWaiting\e[49m" #echo -e "\e[49m " #default for i in {1..60} do if [ -a $1 ]; then break; fi echo -ne "\e[104m $i\e[49m" sleep 1 done echo -e "\e[49m" #default echo