View Full Version : restart network
Is there a way to restart the network on the VIX image at a set time each day. I have a problem where after an epg update which is set for 0300 my wirless network does not work after this untill it is manualy restarted.
think possible to have a script to do this
thats what i thought I think I had a similar problem with my dm 800 and added a line in the cron but cant remember what it was.
I cant find the bloody cron now lol
Hi
Here a example restart network every 5 minutes, change the value for your wish
[create file]
restartnetwork.sh
#!/bin/sh
/etc/init.d/networking restart
[FTP send file]
/usr/script/restartnetwork.sh CHMOD755
[Telnet]
echo "*/5 * * * * root /usr/script/restartnetwork.sh" >> /etc/cron/crontabs/root
Work with image that I using for moment, Not tested with Vix image but should works
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.