update to Makefile description. added wifi_schedule to ucitrack
update to Makefile description. added wifi_schedule to ucitrack

--- a/wifischedule-luci/Makefile
+++ b/wifischedule-luci/Makefile
@@ -25,7 +25,7 @@
 endef
 
 define Package/luci-app-wifischedule/description
-A wifi scheduler
+Wifi Schedule is a very useful app which will allow you to manage and schedule when your device Wi-Fi will turn on and off.
 endef
 
 define Build/Compile

--- a/wifischedule/Makefile
+++ b/wifischedule/Makefile
@@ -23,7 +23,7 @@
 endef
 
 define Package/wifischedule/description
-A wifi scheduler
+Wifi Schedule is a very useful app which will allow you to manage and schedule when your device Wi-Fi will turn on and off.
 endef
 
 define Package/wifischedule/conffiles
@@ -42,6 +42,14 @@
 then
 /etc/init.d/wifi_schedule enable
 /etc/init.d/wifi_schedule start
+
+grep -q 'wifi_schedule' $${IPKG_INSTROOT}/etc/config/ucitrack 2>/dev/null
+[ $$? -ne 0 ] && {
+       echo "" >>$${IPKG_INSTROOT}/etc/config/ucitrack
+       echo "config wifi_schedule" >>$${IPKG_INSTROOT}/etc/config/ucitrack
+       echo "       option init wifi_schedule" >>$${IPKG_INSTROOT}/etc/config/ucitrack
+}
+
 fi
 exit 0
 endef

comments