13 lines
198 B
Bash
13 lines
198 B
Bash
#!/bin/sh
|
|
|
|
/usr/libexec/fan-control init
|
|
|
|
uci -q batch <<-EOF >/dev/null
|
|
delete ucitrack.@luci-fan[-1]
|
|
add ucitrack luci-fan
|
|
set ucitrack.@luci-fan[-1].init=luci-fan
|
|
commit ucitrack
|
|
EOF
|
|
|
|
exit 0
|