Commit a7cbf075 authored by Hamza Dely's avatar Hamza Dely
Browse files

La version custom de mac80211.sh remplace bel et bien la version par défaut

parent 3eb629d8
......@@ -14,7 +14,7 @@ PKG_VERSION:=1.0
PKG_RELEASE:=1
PKG_LICENSE:=GPL-2.0
PKG_BUILD_DEPENDS:=base-files dropbear !TARGET_ar71xx_generic_TLWR841:monit TARGET_ar71xx_generic_TLWR841:monit-nossl
PKG_BUILD_DEPENDS:=base-files kmod-mac80211 dropbear !TARGET_ar71xx_generic_TLWR841:monit TARGET_ar71xx_generic_TLWR841:monit-nossl
include $(INCLUDE_DIR)/package.mk
......@@ -36,27 +36,11 @@ ifndef MODEL
MODEL:="default"
endif
define Package/base-files/conffiles
/etc/banner
/etc/openwrt_version
/etc/monitrc
/etc/config/dhcp
/etc/config/network
/etc/config/system
/etc/config/dropbear
/etc/config/wireless
/etc/dropbear/
/etc/dropbear/authorized_keys
/etc/monit
/etc/uci-defaults/dhcp.crans
$(call $(TARGET)/conffiles)
endef
define Package/crans
SECTION:=base
CATEGORY:=Crans configuration
TITLE:=Crans-specific configuration for OpenWrt
DEPENDS:=+base-files +dropbear +!TARGET_ar71xx_generic_TLWR841:monit +TARGET_ar71xx_generic_TLWR841:monit-nossl
DEPENDS:=+base-files +kmod-mac80211 +dropbear +!TARGET_ar71xx_generic_TLWR841:monit +TARGET_ar71xx_generic_TLWR841:monit-nossl
VERSION:=$(PKG_RELEASE)
endef
......@@ -64,6 +48,23 @@ define Package/crans/description
Configuration spécifique au Crans
endef
define Package/base-files/conffiles
/etc/banner
/etc/openwrt_version
/etc/monitrc
/etc/config/dhcp
/etc/config/network
/etc/config/system
/etc/config/dropbear
/etc/config/wireless
/etc/dropbear/
/etc/dropbear/authorized_keys
/etc/monit
/etc/uci-defaults/dhcp.crans
/lib/wifi/mac80211.sh
$(call $(TARGET)/conffiles)
endef
define Package/crans/install
$(INSTALL_DIR) $(1)/etc/
$(INSTALL_DATA) files/etc/banner $(1)/etc/banner
......@@ -81,7 +82,7 @@ define Package/crans/install
$(INSTALL_DIR) $(1)/usr/share/watch_net/
$(INSTALL_BIN) files/usr/share/watch_net/watch_net.sh $(1)/usr/share/watch_net/watch_net.sh
$(INSTALL_DIR) $(1)/lib/wifi/
$(INSTALL_DATA) files/lib/wifi/mac80211.sh $(1)/lib/wifi/mac80211.sh
$(INSTALL_BIN) files/lib/wifi/mac80211.sh $(1)/lib/wifi/mac80211.sh
$(INSTALL_DIR) $(1)/etc/uci-defaults/
$(INSTALL_BIN) files/etc/uci-defaults/dhcp.crans $(1)/etc/uci-defaults/dhcp.crans
$(INSTALL_DIR) $(1)/lib/netifd/
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment