[OpenWrt-Devel] [PATCH] soloscli: fix uci-defaults file

Adrian Schmutzler freifunk at adrianschmutzler.de
Sat Jun 6 17:09:59 EDT 2020


The folder for the uci-defaults file of this package is wrong, so
the file most probably has not been executed at all for several
years at least.

Fix the folder and remove the useless shebang for the file.

Signed-off-by: Adrian Schmutzler <freifunk at adrianschmutzler.de>
---
 package/network/config/soloscli/Makefile                        | 2 +-
 .../soloscli/files/etc/{uci-default => uci-defaults}/solos      | 2 --
 2 files changed, 1 insertion(+), 3 deletions(-)
 rename package/network/config/soloscli/files/etc/{uci-default => uci-defaults}/solos (97%)

diff --git a/package/network/config/soloscli/Makefile b/package/network/config/soloscli/Makefile
index 877a0f275b..52a53dc0fa 100644
--- a/package/network/config/soloscli/Makefile
+++ b/package/network/config/soloscli/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=soloscli
 PKG_VERSION:=1.04
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE:=solos-pci-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@SF/openadsl
diff --git a/package/network/config/soloscli/files/etc/uci-default/solos b/package/network/config/soloscli/files/etc/uci-defaults/solos
similarity index 97%
rename from package/network/config/soloscli/files/etc/uci-default/solos
rename to package/network/config/soloscli/files/etc/uci-defaults/solos
index 7f69da62c6..6645fc370a 100644
--- a/package/network/config/soloscli/files/etc/uci-default/solos
+++ b/package/network/config/soloscli/files/etc/uci-defaults/solos
@@ -1,5 +1,3 @@
-#!/bin/sh
-
 uci batch <<__EOF__
 
 delete network.wan.solos0
-- 
2.20.1


_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list