blob: 0fe39dd9462808fe5c6e6aca857dffb051d8f0cd [file] [log] [blame]
hong.liuf024a692025-06-11 02:40:53 -07001#!/bin/sh /etc/rc.common
2# Copyright (C) 2006-2011 OpenWrt.org
hong.liufa3dc0a2025-06-30 17:30:59 +08003START=12
hong.liuf024a692025-06-11 02:40:53 -07004start_service() {
hj.shao201e0f92025-06-24 01:29:07 -07005 echo "gsw start--" > /dev/kmsg
hong.liuab27b3d2025-06-25 11:11:36 +08006 rmmod mfp #temp for gsw
7 echo 255 > /sys/class/leds/red/brightness #when start oemapp up GPIO08
hong.liufa3dc0a2025-06-30 17:30:59 +08008 ifconfig eth0 up
9 ifconfig eth0 mtu 1500
hong.liuf024a692025-06-11 02:40:53 -070010 if [ -f /etc/gsw_oemapp_start.sh ]
11 then
12 /etc/gsw_oemapp_start.sh &
13 fi
14 echo "--gsw start end--" > /dev/kmsg
15}
16start_service