Peace Bro, just having a laugh with you
#!/bin/sh #emuname=Hypercam #ecminfofile=ecm.info export env LD_LIBRARY_PATH=/var/lib:$LD_LIBRARY_PATH case "$1" in start) /var/bin/hypercam & sleep 4 ;; stop) killall -9 hypercam sleep 4 ;; *) $0 stop exit 1 ;; esac exit 0
#!/bin/sh export env LD_LIBRARY_PATH=/var/lib:$LD_LIBRARY_PATH killall -9 hypercam /var/bin/hypercam
#!/bin/sh
CAMNAME="Hypercam 1"
USERNAME="Hypercam"
ZAPTIME=4
CAMID=0000
DVBSET=1
INFOFILE="ecm.info"
INFOFILELINES=
# end
export env LD_LIBRARY_PATH=/var/lib:$LD_LIBRARY_PATH
remove_tmp () {
rm -rf /tmp/*.info* /tmp/*.tmp*
}
case $1 in
start)
echo "[SCRIPT] $1: $CAMNAME"
remove_tmp
/var/bin/hypercam
;;
stop)
echo "[SCRIPT] $1: $CAMNAME"
touch /tmp/hypercam.kill
/var/bin/prockill hypercam
killall -9 hypercam 2> /dev/null
remove_tmp
sleep 2
;;
*)
$0 stop
exit 1
;;
esac
exit 0
#?xml version="1.0" encoding="iso-8859-1" ?@ #emu@ #start@ #startemu daemon="/var/bin/hypercam" /@ #/start@ #stop@ #killemu command="killall hypercam" /@ #/stop@ #/emu@
For Hydra, Nabilosat, Puntal, URTeam or other's you must add a new file in var/etc folder, this team's use: smartcam.config, and don't use script, then put like this: "uinit" or "init", you must ask in Foruns Team's. chmod uinit 755 or chmod uinit 755 and the inside put this: #!/bin/sh export env LD_LIBRARY_PATH=/var/lib:$LD_LIBRARY_PATH In smartcam.config: osd-name 1 = Hypercam emulator 1 = hypercam camd 1 = daemon 1 = hypercam kill 1 = sleep 1 = zap-sleep 1 = Note if you have only one cam, hypercam install if you have 3, you must change like this: osd-name 4 = Hypercam emulator 4 = hypercam camd 4 = daemon 4 = kill 4 = sleep 4 = zap-sleep 4 = Hypercam will be n? 4, Ok....
Comment