mirror of
https://github.com/nikdoof/builder.git
synced 2025-12-14 16:12:15 +00:00
add autonight to x-06s
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -91,7 +91,7 @@ BR2_PACKAGE_OPUS_OPENIPC_FIXED_POINT=y
|
|||||||
BR2_PACKAGE_VTUND_OPENIPC=y
|
BR2_PACKAGE_VTUND_OPENIPC=y
|
||||||
BR2_PACKAGE_YAML_CLI=y
|
BR2_PACKAGE_YAML_CLI=y
|
||||||
BR2_PACKAGE_QUIRC_OPENIPC=y
|
BR2_PACKAGE_QUIRC_OPENIPC=y
|
||||||
# BR2_PACKAGE_AUTONIGHT is not set
|
BR2_PACKAGE_AUTONIGHT=y
|
||||||
|
|
||||||
# WiFi
|
# WiFi
|
||||||
BR2_PACKAGE_WIRELESS_TOOLS=y
|
BR2_PACKAGE_WIRELESS_TOOLS=y
|
||||||
@@ -106,7 +106,7 @@ BR2_PACKAGE_WIREGUARD_LINUX_COMPAT=y
|
|||||||
BR2_PACKAGE_WIREGUARD_TOOLS=y
|
BR2_PACKAGE_WIREGUARD_TOOLS=y
|
||||||
|
|
||||||
# DEBUG
|
# DEBUG
|
||||||
# BR2_PACKAGE_INGENIC_PWM is not set
|
BR2_PACKAGE_INGENIC_PWM=y
|
||||||
# BR2_PACKAGE_LOGCAT_OPENIPC is not set
|
# BR2_PACKAGE_LOGCAT_OPENIPC is not set
|
||||||
# BR2_PACKAGE_HOST_GDB is not set
|
# BR2_PACKAGE_HOST_GDB is not set
|
||||||
# BR2_PACKAGE_GDB is not set
|
# BR2_PACKAGE_GDB is not set
|
||||||
|
|||||||
14
devices/t21_lite_x-06s/general/overlay/etc/init.d/S90autonight
Executable file
14
devices/t21_lite_x-06s/general/overlay/etc/init.d/S90autonight
Executable file
@@ -0,0 +1,14 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
case "$1" in
|
||||||
|
start)
|
||||||
|
autonight -d 3
|
||||||
|
;;
|
||||||
|
stop)
|
||||||
|
kill -9 $(pidof autonight)
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "Usage: $0 {start|stop}"
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
Reference in New Issue
Block a user