summaryrefslogtreecommitdiff
path: root/personal-enabler/files/rainbow-omnia.sh
diff options
context:
space:
mode:
Diffstat (limited to 'personal-enabler/files/rainbow-omnia.sh')
-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