Browse Source

- init-scripts: activate blue led

master
vanhofen 2 years ago
parent
commit
1059f5f79b
  1. 14
      package/init-scripts/files/proc.init

14
package/init-scripts/files/proc.init

@ -1,25 +1,25 @@
#!/bin/sh
. /etc/init.d/functions
. /etc/init.d/globals
if [ -e /proc/stb/info/model ]; then
model=$(cat /proc/stb/info/model)
elif [ -e /proc/stb/info/vumodel ]; then
model=$(cat /proc/stb/info/vumodel)
fi
case $1 in
start)
if [ -e /proc/cpu/alignment ]; then
echo -n "3" > /proc/cpu/alignment
fi
case $model in
case "$(get_boxmodel)" in
hd60|hd61)
if [ -e /proc/stb/power/powerled2 ]; then
echo off > /proc/stb/power/powerled2
fi
;;
e4hd|protek4k)
if [ -e /proc/stb/power/standbyled ]; then
echo on > /proc/stb/power/standbyled
fi
;;
esac
;;
*)

Loading…
Cancel
Save