busybox: add as an alternative of /sbin/ip

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
openwrt-18.06
Yousong Zhou 2017-05-02 22:11:17 +08:00
parent fc9361e60e
commit 8b1b094fef
1 changed files with 2 additions and 1 deletions

View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=busybox PKG_NAME:=busybox
PKG_VERSION:=1.26.2 PKG_VERSION:=1.26.2
PKG_RELEASE:=4 PKG_RELEASE:=5
PKG_FLAGS:=essential PKG_FLAGS:=essential
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
@ -44,6 +44,7 @@ define Package/busybox
URL:=http://busybox.net/ URL:=http://busybox.net/
DEPENDS:=+BUSYBOX_USE_LIBRPC:librpc +BUSYBOX_CONFIG_PAM:libpam +BUSYBOX_CONFIG_NTPD:jsonfilter DEPENDS:=+BUSYBOX_USE_LIBRPC:librpc +BUSYBOX_CONFIG_PAM:libpam +BUSYBOX_CONFIG_NTPD:jsonfilter
MENU:=1 MENU:=1
ALTERNATIVES:=100:/sbin/ip:/bin/busybox
endef endef
define Package/busybox/description define Package/busybox/description