#!/bin/sh /etc/rc.common | |
# Copyright (C) 2006-2011 OpenWrt.org | |
START=12 | |
start_service() { | |
echo "gsw start--" > /dev/kmsg | |
rmmod mfp #temp for gsw | |
echo 255 > /sys/class/leds/red/brightness #when start oemapp up GPIO08 | |
ifconfig eth0 up | |
ifconfig eth0 mtu 1500 | |
if [ -f /etc/gsw_oemapp_start.sh ] | |
then | |
/etc/gsw_oemapp_start.sh & | |
fi | |
echo "--gsw start end--" > /dev/kmsg | |
} | |
start_service |