batmand: fix whitespace

This commit is contained in:
Leon M. George 2019-05-24 01:17:41 +02:00
parent 040b8e8750
commit c514a2a49c
3 changed files with 14 additions and 17 deletions

View File

@ -79,7 +79,7 @@ MAKE_BATGAT_ARGS += \
PATH="$(TARGET_PATH)" \ PATH="$(TARGET_PATH)" \
SUBDIRS="$(PKG_KMOD_BUILD_DIR)" \ SUBDIRS="$(PKG_KMOD_BUILD_DIR)" \
LINUX_VERSION="$(LINUX_VERSION)" \ LINUX_VERSION="$(LINUX_VERSION)" \
REVISION="$(PKG_REV)" modules REVISION="$(PKG_REV)" modules
define Build/Configure define Build/Configure
@ -88,11 +88,11 @@ endef
ifneq ($(DEVELOPER)$(CONFIG_PACKAGE_batmand),) ifneq ($(DEVELOPER)$(CONFIG_PACKAGE_batmand),)
BUILD_BATMAND := $(MAKE) -C $(PKG_BUILD_DIR) $(MAKE_BATMAND_ARGS) BUILD_BATMAND := $(MAKE) -C $(PKG_BUILD_DIR) $(MAKE_BATMAND_ARGS)
endif endif
ifneq ($(DEVELOPER)$(CONFIG_PACKAGE_kmod-batgat),) ifneq ($(DEVELOPER)$(CONFIG_PACKAGE_kmod-batgat),)
BUILD_BATGAT := $(MAKE) -C "$(LINUX_DIR)" $(MAKE_BATGAT_ARGS) BUILD_BATGAT := $(MAKE) -C "$(LINUX_DIR)" $(MAKE_BATGAT_ARGS)
endif endif
define Build/Compile define Build/Compile
$(BUILD_BATMAND) $(BUILD_BATMAND)
cp $(PKG_KMOD_BUILD_DIR)/Makefile.kbuild $(PKG_KMOD_BUILD_DIR)/Makefile cp $(PKG_KMOD_BUILD_DIR)/Makefile.kbuild $(PKG_KMOD_BUILD_DIR)/Makefile

View File

@ -1,12 +1,11 @@
config batmand general config batmand general
option interface ath0 option interface ath0
option hna option hna
option gateway_class option gateway_class
option originator_interval option originator_interval
option preferred_gateway option preferred_gateway
option routing_class option routing_class
option visualisation_srv option visualisation_srv
option policy_routing_script option policy_routing_script
option disable_client_nat option disable_client_nat
option disable_aggregation option disable_aggregation

View File

@ -19,9 +19,9 @@ start () {
batman_args="" batman_args=""
for hna in $hnas for hna in $hnas
do do
batman_args=${batman_args}'-a '$hna' ' batman_args=${batman_args}'-a '$hna' '
done done
if [ $gateway_class ]; then if [ $gateway_class ]; then
batman_args=${batman_args}'-g '$gateway_class' ' batman_args=${batman_args}'-g '$gateway_class' '
@ -38,19 +38,19 @@ start () {
if [ $routing_class ]; then if [ $routing_class ]; then
batman_args=${batman_args}'-r '$routing_class' ' batman_args=${batman_args}'-r '$routing_class' '
fi fi
if [ $visualisation_srv ]; then if [ $visualisation_srv ]; then
batman_args=${batman_args}'-s '$visualisation_srv' ' batman_args=${batman_args}'-s '$visualisation_srv' '
fi fi
if [ $policy_routing_script ]; then if [ $policy_routing_script ]; then
batman_args=${batman_args}'--policy-routing-script '$policy_routing_script' ' batman_args=${batman_args}'--policy-routing-script '$policy_routing_script' '
fi fi
if [ $disable_client_nat ]; then if [ $disable_client_nat ]; then
batman_args=${batman_args}'--disable-client-nat ' batman_args=${batman_args}'--disable-client-nat '
fi fi
if [ $disable_aggregation ]; then if [ $disable_aggregation ]; then
batman_args=${batman_args}'--disable-aggregation ' batman_args=${batman_args}'--disable-aggregation '
fi fi
@ -60,7 +60,5 @@ start () {
} }
stop () { stop () {
killall batmand killall batmand
} }