Pogledaj jedan post
Old 18.10.2008., 21:31   #16
ovi tutorilai su me podsjetili zašto sam odustao od satelitske i prtljanja s kodovima...i s njima ti treba živaca za tri života...jest da živicira resetirat maxtv tu i tamo, al ovo, brate: #!/bin/sh

CAMNAME="Evocamd 127"
USERNAME=""
ZAPTIME=6
CAMID=3010
DVBSET=0
INFOFILE="ecm.info"
INFOFILELINES=
# end

remove_tmp () {
rm -rf /tmp/*.info* /tmp/*.tmp* /tmp/*server*
}

case "$1" in
start)
echo "[SCRIPT] $1: $CAMNAME"
remove_tmp
/var/bin/evocamd_127 &
;;
stop)
echo "[SCRIPT] $1: $CAMNAME"
killall -9 evocamd_127
remove_tmp
;;
*)
$0 stop
exit 0
;;
esac

exit 0

MytByte is offline  
Odgovori s citatom