Navigation:  Software >

start_neutrino

Previous pageReturn to chapter overviewNext page

start_neutrino

start_neutrino

 

 

This file defines what is started on Neutrino Startup

 

You find it in:

 

/var/tuxbox or

/var/etc/init.d or

/etc/init.d

 

Contents example from a DietmwarW Image:

 

#!/bin/sh

 

# $Id: start_neutrino,v 1.28 2006/03/30 07:29:46 saruman Exp $

 

date -s 010101001970

sectionsd

timerd

camd2

zapit

controld

nhttpd

neutrino -f -u

 

[ -e /tmp/tuxmaild.pid ] && kill $( cat /tmp/tuxmaild.pid )

[ -e /tmp/tuxcald.pid ] && kill $( cat /tmp/tuxcald.pid )

pzapit -kill

i=9

while expr $i != 0 > /dev/null

do

if pidof controld > /dev/null; then echo "Waiting for controld (max. $i seconds)"

elif pidof timerd > /dev/null; then echo "Waiting for timerd (max. $i seconds)"

elif pidof zapit > /dev/null; then echo "Waiting for zapit (max. $i seconds)"

elif pidof tuxmaild > /dev/null; then echo "Waiting for tuxmaild (max. $i seconds)"

- start_neutrino 1/36 2%

Copyright © <05.01.2006>, < PT-1> Last Changes 15.04.2008