gluon-core: gluon_mesh.sh: whitespace cleanup

This commit is contained in:
Christof Schulze 2017-06-22 23:13:44 +02:00 committed by Matthias Schiffer
parent ae593d8439
commit e432dd4d9f
No known key found for this signature in database
GPG Key ID: 16EF3F64CB201D9C

View File

@ -20,20 +20,19 @@ proto_gluon_mesh_setup() {
export TRANSITIVE="${transitive:-0}" export TRANSITIVE="${transitive:-0}"
for script in /lib/gluon/core/mesh/setup.d/*; do for script in /lib/gluon/core/mesh/setup.d/*; do
[ ! -x "$script" ] || "$script" [ ! -x "$script" ] || "$script"
done done
proto_init_update "$IFNAME" 1 proto_init_update "$IFNAME" 1
proto_add_data proto_add_data
json_add_boolean fixed_mtu "$FIXED_MTU" json_add_boolean fixed_mtu "$FIXED_MTU"
json_add_boolean transitive "$TRANSITIVE" json_add_boolean transitive "$TRANSITIVE"
proto_close_data proto_close_data
proto_send_update "$CONFIG"
proto_send_update "$CONFIG"
for script in /lib/gluon/core/mesh/post-setup.d/*; do for script in /lib/gluon/core/mesh/post-setup.d/*; do
[ ! -x "$script" ] || "$script" [ ! -x "$script" ] || "$script"
done done
} }
@ -42,7 +41,7 @@ proto_gluon_mesh_teardown() {
export IFNAME="$2" export IFNAME="$2"
for script in /lib/gluon/core/mesh/teardown.d/*; do for script in /lib/gluon/core/mesh/teardown.d/*; do
[ ! -x "$script" ] || "$script" [ ! -x "$script" ] || "$script"
done done
} }