batmand: fix whitespace
authorLeon M. George <leon@georgemail.eu>
Thu, 23 May 2019 23:17:41 +0000 (01:17 +0200)
committerLeon M. George <leon@georgemail.eu>
Sat, 25 May 2019 06:42:42 +0000 (08:42 +0200)
batmand/Makefile
batmand/files/etc/config/batmand
batmand/files/etc/init.d/batmand

index 425d355943039b25f02ec3789e9bc3461c009fdb..77497ab4c71a309fc871baf58acf1a1b71310c5c 100644 (file)
@@ -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
index 6d1f3beb49f2db67ecfa51a4863f83b647141d05..0cad38d3a03f05ff2363bbd620977fa5298bb74e 100644 (file)
@@ -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
-       
index 403e9f39a0796ec8353f94e4544a582f59342c3b..14e8f1a7d547b7943b6410a592209a08e416955a 100644 (file)
@@ -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
 }
-
-