hi guys, i´m having to restart my owhttpd each 5 minutes can anyone help me with a bash script to do this job?
i was thinking about runnning the bash as a background process /etc/rc.d/rc0.d/owhttpd & inside owhttpd i have: #!/bin/sh real_owhttpd=/opt/bin/owhttpd while true; do $real_owhttpd -d /dev/ttyUSB* -p 80 & sleep 300; killall $real_owhttpd done does anyone know how to do this but without using killall? some arm distros don´t have killall ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers