You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
483 B
29 lines
483 B
5 years ago
|
#!/bin/sh
|
||
|
|
||
|
. /etc/init.d/globals
|
||
|
|
||
4 years ago
|
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
|
||
|
|
||
5 years ago
|
case $1 in
|
||
|
start)
|
||
4 years ago
|
if [ -e /proc/cpu/alignment ]; then
|
||
5 years ago
|
echo -n "3" > /proc/cpu/alignment
|
||
4 years ago
|
fi
|
||
|
|
||
|
case $model in
|
||
|
hd60|hd61)
|
||
|
if [ -e /proc/stb/power/powerled2 ]; then
|
||
|
echo off > /proc/stb/power/powerled2
|
||
|
fi
|
||
|
;;
|
||
|
esac
|
||
5 years ago
|
;;
|
||
|
*)
|
||
|
echo "[$BASENAME] Usage: $0 {start}"
|
||
|
;;
|
||
|
esac
|