diff --git a/general/overlay/usr/sbin/light b/general/overlay/usr/sbin/light index d55c97a9..90381aea 100644 --- a/general/overlay/usr/sbin/light +++ b/general/overlay/usr/sbin/light @@ -1,7 +1,7 @@ #!/bin/sh -GPIO_RED=78 -GPIO_GREEN=75 +GPIO_RED= +GPIO_GREEN= GPIO_BLUE= help() { @@ -14,7 +14,7 @@ setRed() { if [ -n "$GPIO_RED" ]; then [ $1 -eq 1 ] && gpio set "$GPIO_RED" || gpio clear "$GPIO_RED" else - echo "Red GPIO undefined" + echo "[INFO] Status Lights: Red GPIO undefined in /usr/sbin/light" > /dev/kmsg fi } @@ -22,7 +22,7 @@ setGreen() { if [ -n "$GPIO_GREEN" ]; then [ $1 -eq 1 ] && gpio set "$GPIO_GREEN" || gpio clear "$GPIO_GREEN" else - echo "Green GPIO undefined" + echo "[INFO] Status Lights: Green GPIO undefined in /usr/sbin/light" > /dev/kmsg fi } @@ -30,7 +30,7 @@ setBlue() { if [ -n "$GPIO_BLUE" ]; then [ $1 -eq 1 ] && gpio set "$GPIO_BLUE" || gpio clear "$GPIO_BLUE" else - echo "Blue GPIO undefined" + echo "[INFO] Status Lights: Blue GPIO undefined in /usr/sbin/light" > /dev/kmsg fi } diff --git a/general/package/wireless-configuration/files/network/interfaces.conf b/general/package/wireless-configuration/files/network/interfaces.conf index ba635b71..64d44ca9 100644 --- a/general/package/wireless-configuration/files/network/interfaces.conf +++ b/general/package/wireless-configuration/files/network/interfaces.conf @@ -9,9 +9,6 @@ iface eth0 inet static auto wlan0 iface wlan0 inet dhcp - pre-up light red pre-up wireless post-up wireless - post-up light green post-down wireless - post-down light red diff --git a/general/package/wireless-configuration/files/script/adapter b/general/package/wireless-configuration/files/script/adapter index be694524..b3b0a4de 100755 --- a/general/package/wireless-configuration/files/script/adapter +++ b/general/package/wireless-configuration/files/script/adapter @@ -19,7 +19,5 @@ fi # Ingenic T21 if [ "$CONFIG" = "t21_lite_defconfig" ]; then gpio clear 50 - modprobe cfg80211 - modprobe mac80211 modprobe 8188fu fi