summaryrefslogtreecommitdiff
path: root/batmand
diff options
context:
space:
mode:
authorLeon M. George <leon@georgemail.eu>2019-05-24 01:17:41 +0200
committerLeon M. George <leon@georgemail.eu>2019-05-25 08:42:42 +0200
commitc514a2a49c441bed93e12db48f4dcfa72e3e65e4 (patch)
tree5529c8136cadbc48943b3f361e450fe17ac81c96 /batmand
parent040b8e875070831bb8b40b627ff026f306ef8cf6 (diff)
batmand: fix whitespace
Diffstat (limited to 'batmand')
-rw-r--r--batmand/Makefile6
-rw-r--r--batmand/files/etc/config/batmand7
-rw-r--r--batmand/files/etc/init.d/batmand18
3 files changed, 14 insertions, 17 deletions
diff --git a/batmand/Makefile b/batmand/Makefile
index 425d355..77497ab 100644
--- a/batmand/Makefile
+++ b/batmand/Makefile
@@ -79,7 +79,7 @@ MAKE_BATGAT_ARGS += \
PATH="$(TARGET_PATH)" \
SUBDIRS="$(PKG_KMOD_BUILD_DIR)" \
LINUX_VERSION="$(LINUX_VERSION)" \
- REVISION="$(PKG_REV)" modules
+ REVISION="$(PKG_REV)" modules
define Build/Configure
@@ -88,11 +88,11 @@ endef
ifneq ($(DEVELOPER)$(CONFIG_PACKAGE_batmand),)
BUILD_BATMAND := $(MAKE) -C $(PKG_BUILD_DIR) $(MAKE_BATMAND_ARGS)
endif
-
+
ifneq ($(DEVELOPER)$(CONFIG_PACKAGE_kmod-batgat),)
BUILD_BATGAT := $(MAKE) -C "$(LINUX_DIR)" $(MAKE_BATGAT_ARGS)
endif
-
+
define Build/Compile
$(BUILD_BATMAND)
cp $(PKG_KMOD_BUILD_DIR)/Makefile.kbuild $(PKG_KMOD_BUILD_DIR)/Makefile
diff --git a/batmand/files/etc/config/batmand b/batmand/files/etc/config/batmand
index 6d1f3be..0cad38d 100644
--- a/batmand/files/etc/config/batmand
+++ b/batmand/files/etc/config/batmand
@@ -1,12 +1,11 @@
config batmand general
option interface ath0
- option hna
- option gateway_class
+ option hna
+ option gateway_class
option originator_interval
- option preferred_gateway
+ option preferred_gateway
option routing_class
option visualisation_srv
option policy_routing_script
option disable_client_nat
option disable_aggregation
-
diff --git a/batmand/files/etc/init.d/batmand b/batmand/files/etc/init.d/batmand
index 403e9f3..14e8f1a 100644
--- a/batmand/files/etc/init.d/batmand
+++ b/batmand/files/etc/init.d/batmand
@@ -19,9 +19,9 @@ start () {
batman_args=""
for hna in $hnas
- do
- batman_args=${batman_args}'-a '$hna' '
- done
+ do
+ batman_args=${batman_args}'-a '$hna' '
+ done
if [ $gateway_class ]; then
batman_args=${batman_args}'-g '$gateway_class' '
@@ -38,19 +38,19 @@ start () {
if [ $routing_class ]; then
batman_args=${batman_args}'-r '$routing_class' '
fi
-
+
if [ $visualisation_srv ]; then
batman_args=${batman_args}'-s '$visualisation_srv' '
fi
-
+
if [ $policy_routing_script ]; then
batman_args=${batman_args}'--policy-routing-script '$policy_routing_script' '
fi
-
+
if [ $disable_client_nat ]; then
batman_args=${batman_args}'--disable-client-nat '
fi
-
+
if [ $disable_aggregation ]; then
batman_args=${batman_args}'--disable-aggregation '
fi
@@ -60,7 +60,5 @@ start () {
}
stop () {
- killall batmand
+ killall batmand
}
-
-