OSCam/fr/SmallHelpfulScripts

Aus Streamboard Wiki
Zur Navigation springen Zur Suche springen

OSCam Übersicht OSCam Home OSCam Accueil OSCam Home

Attention: Le continu du Wiki français est encore partiellement en allemand. Enregistres toi pour nous aider de complèter et traduire les articles.

Watchdog

<syntaxhighlight lang="bash">

  1. !/bin/sh

while sleep 2 do

 if ps x | grep -v grep | grep -c oscam >/dev/null
 then
   echo "oscam tourne déja"
 else
   echo ""
   date >> /tmp/oscam-crash.log
   echo "oscam ne tourne pas, va être démmaré" >> /tmp/oscam-crash.log
   killall oscam
   sleep 1
   /var/emu/oscam &
 fi

done </syntaxhighlight>


Diese Seite in anderen Sprachen - This page in other languages - Cette page dans d'autres langues - Queste pagine in altre Lingue

[[OSCam/de/{{#titleparts:OSCam/fr/SmallHelpfulScripts|3|3}}|Deutsch]] [[OSCam/en/{{#titleparts:OSCam/fr/SmallHelpfulScripts|3|3}}|English]] [[OSCam/fr/{{#titleparts:OSCam/fr/SmallHelpfulScripts|3|3}}|Français]] [[OSCam/it/{{#titleparts:OSCam/fr/SmallHelpfulScripts|3|3}}|Italiano]]