forked from openwrt/packages
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes: e0d7181 Closes: openwrt#22973 Closes: openwrt#22988 1. Make the new `startup()` function in `/usr/bin/wifi_schedule.sh` respect the global `enabled` config flag; in particular, make no changes to `/etc/config/wireless` when wifi_schedule is disabled. 2. Make the new `/etc/init.d/wifi_schedule` service script executable. Signed-off-by: Rani Hod <[email protected]>
- Loading branch information
Showing
2 changed files
with
12 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ include $(TOPDIR)/rules.mk | |
|
||
PKG_NAME:=wifischedule | ||
PKG_VERSION:=1.0.5 | ||
PKG_RELEASE:=1 | ||
PKG_RELEASE:=2 | ||
PKG_LICENSE:=PRPL | ||
|
||
PKG_MAINTAINER:=Nils Koenig <[email protected]> | ||
|
@@ -54,7 +54,7 @@ define Package/wifischedule/install | |
$(INSTALL_DIR) $(1)/etc/config | ||
$(INSTALL_DATA) ./net/etc/config/wifi_schedule $(1)/etc/config/wifi_schedule | ||
$(INSTALL_DIR) $(1)/etc/init.d | ||
$(INSTALL_DATA) ./net/etc/init.d/wifi_schedule $(1)/etc/init.d/wifi_schedule | ||
$(INSTALL_BIN) ./net/etc/init.d/wifi_schedule $(1)/etc/init.d/wifi_schedule | ||
endef | ||
|
||
define Package/wifischedule/postinst | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters