geek rescue kit Code
Brought to you by:
ctaf
#!/bin/sh
## ct-esdonoff for ct-esdonoff in /home/ctaf/.ctafconf/bin
##
## Made by GESTES Cedric
## Login <ctaf@epita.fr>
##
## Started on Tue Sep 27 17:28:27 2005 GESTES Cedric
## Last update Tue Oct 4 15:03:28 2005 GESTES Cedric
##
#CTAFCONF
#togle esd on or off
if esdctl standbymode | grep -c running >/dev/null 2>/dev/null; then
esdctl off && echo "ESD Turned Off";
else
esdctl on && echo "ESD Turned On";
fi;