blob: 0d6c5a29d7072409e7eef6e2347efde6f024b50d [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 echo 255 > /sys/class/leds/red/brightness #when start oemapp up GPIO08
hong.liufa3dc0a2025-06-30 17:30:59 +08007 ifconfig eth0 up
8 ifconfig eth0 mtu 1500
hong.liuf024a692025-06-11 02:40:53 -07009 if [ -f /etc/gsw_oemapp_start.sh ]
10 then
11 /etc/gsw_oemapp_start.sh &
12 fi
13 echo "--gsw start end--" > /dev/kmsg
14}
15start_service