summaryrefslogtreecommitdiff
path: root/personal-enabler/files
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2021-03-08 21:19:45 +0100
committerKarel Kočí <cynerd@email.cz>2021-03-08 21:19:45 +0100
commit5f2f8d4cf0c928bfd086099b19a9ceedbf40f805 (patch)
treed0b4e5cf097571b352f56af6180c6da81d19d3cd /personal-enabler/files
parentb949c727fab509e1650563b2fcce9c0a6c5548ff (diff)
downloadopenwrt-personal-pkgs-5f2f8d4cf0c928bfd086099b19a9ceedbf40f805.tar.gz
openwrt-personal-pkgs-5f2f8d4cf0c928bfd086099b19a9ceedbf40f805.tar.bz2
openwrt-personal-pkgs-5f2f8d4cf0c928bfd086099b19a9ceedbf40f805.zip
personal-enabler: add rainbow-omnia
Diffstat (limited to 'personal-enabler/files')
-rw-r--r--personal-enabler/files/rainbow-omnia.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/personal-enabler/files/rainbow-omnia.sh b/personal-enabler/files/rainbow-omnia.sh
new file mode 100644
index 0000000..3fb27a3
--- /dev/null
+++ b/personal-enabler/files/rainbow-omnia.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+uci -q batch <<EOF
+ set rainbow.all=led
+ set rainbow.all.status=auto
+ set rainbow.all.color=blue
+ set rainbow.pwr=led
+ set rainbow.pwr.status=auto
+ set rainbow.pwr.color=white
+ set rainbow.wan=led
+ set rainbow.wan.status=auto
+ set rainbow.wan.color=green
+ commit rainbow
+EOF
+/etc/init.d/rainbow restart