diff options
Diffstat (limited to 'personal-enabler')
-rw-r--r-- | personal-enabler/Makefile | 1 | ||||
-rw-r--r-- | personal-enabler/files/rainbow-omnia.sh | 14 |
2 files changed, 15 insertions, 0 deletions
diff --git a/personal-enabler/Makefile b/personal-enabler/Makefile index a39d02b..2ad7302 100644 --- a/personal-enabler/Makefile +++ b/personal-enabler/Makefile @@ -36,3 +36,4 @@ Build/Compile:=: $(eval $(call PKG,common,+updater-ng +user-notify)) $(eval $(call PKG,sentinel,+pkglists +sentinel-proxy)) $(eval $(call PKG,public-ssh,+uci +firewall)) +$(eval $(call PKG,rainbow-omnia,+uci +omnia-rainbow)) 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 |