#!/bin/sh . /etc/functions.sh config_load router config_get mode mode mode if [ "$mode" -eq "1" ]; then while [ -z "$(/usr/bin/wget "http://download.fon.com/heartbeat.php" -O-)" ]; do sleep 1 done ifup lan fi