luci-app-mosdns: remove bash package dependencies
This commit is contained in:
parent
dc97f0b5d1
commit
bceeb02ad8
@ -6,7 +6,7 @@ PKG_RELEASE:=1
|
||||
|
||||
LUCI_TITLE:=LuCI Support for mosdns
|
||||
LUCI_PKGARCH:=all
|
||||
LUCI_DEPENDS:=+mosdns +jsonfilter +bash +luci-compat +curl +v2ray-geoip +v2ray-geosite
|
||||
LUCI_DEPENDS:=+mosdns +jsonfilter +luci-compat +curl +v2ray-geoip +v2ray-geosite
|
||||
|
||||
define Package/$(PKG_NAME)/conffiles
|
||||
/etc/config/mosdns
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/bin/bash -e
|
||||
#!/bin/sh
|
||||
|
||||
adblock=$(uci -q get mosdns.mosdns.adblock)
|
||||
if [ "$adblock" -eq 1 ];then
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/bash -e
|
||||
# shellcheck source=/etc/mosdns/library.sh
|
||||
#!/bin/sh
|
||||
|
||||
source /usr/share/mosdns/library.sh
|
||||
|
||||
if [ "$(ifconfig | grep -c wan)" = 0 ]; then
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/bin/bash -e
|
||||
#!/bin/sh
|
||||
|
||||
bakdns() {
|
||||
if [ "$1" == "0" ]; then
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/bin/bash -e
|
||||
#!/bin/sh
|
||||
|
||||
configfile=$(uci -q get mosdns.mosdns.configfile)
|
||||
if [ "$configfile" = "/etc/mosdns/config.yaml" ]; then
|
||||
|
@ -1,5 +1,4 @@
|
||||
#!/bin/bash -e
|
||||
# shellcheck source=/etc/mosdns/library.sh
|
||||
#!/bin/sh
|
||||
|
||||
set -o pipefail
|
||||
source /usr/share/mosdns/library.sh
|
||||
|
Loading…
Reference in New Issue
Block a user