|
@@ -17,10 +17,14 @@ OPENVPN_CONF_OPT += --enable-small --disable-plugins \
|
|
--disable-debug --disable-eurephia
|
|
--disable-debug --disable-eurephia
|
|
endif
|
|
endif
|
|
|
|
|
|
|
|
+# Busybox 1.21+ places the ip applet in the "correct" place
|
|
|
|
+# but previous versions didn't.
|
|
ifeq ($(BR2_PACKAGE_IPROUTE2),y)
|
|
ifeq ($(BR2_PACKAGE_IPROUTE2),y)
|
|
OPENVPN_CONF_ENV += IPROUTE=/sbin/ip
|
|
OPENVPN_CONF_ENV += IPROUTE=/sbin/ip
|
|
-else
|
|
|
|
|
|
+else ifeq ($(BR2_BUSYBOX_VERSION_1_19_X)$(BR2_BUSYBOX_VERSION_1_20_X),y)
|
|
OPENVPN_CONF_ENV += IPROUTE=/bin/ip
|
|
OPENVPN_CONF_ENV += IPROUTE=/bin/ip
|
|
|
|
+else
|
|
|
|
+OPENVPN_CONF_ENV += IPROUTE=/sbin/ip
|
|
endif
|
|
endif
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_OPENVPN_LZO),y)
|
|
ifeq ($(BR2_PACKAGE_OPENVPN_LZO),y)
|