install: make script in /etc/gl-switch.d/ executable

Then we should be able to have it executed when the button is switched.
This commit is contained in:
Tobias Mueller 2023-10-16 14:03:10 +02:00
parent 7531d2b691
commit 0e6af2eb77

View File

@ -29,6 +29,7 @@ endef
define Package/blue-merle/install
$(CP) ./files/* $(1)/
$(INSTALL_BIN) ./files/etc/init.d/* $(1)/etc/init.d/
$(INSTALL_BIN) ./files/etc/gl-switch.d/* $(1)/etc/gl-switch.d/
$(INSTALL_BIN) ./files/lib/blue-merle/mac-wipe.sh $(1)/lib/blue-merle/mac-wipe.sh
$(INSTALL_BIN) ./files/usr/bin/blue-merle $(1)/usr/bin/blue-merle
$(INSTALL_BIN) ./files/usr/libexec/blue-merle $(1)/usr/libexec/blue-merle