sgw: fix the policy routing script
authorFerry Huberts <ferry.huberts@pelagic.nl>
Thu, 13 Feb 2014 16:35:37 +0000 (17:35 +0100)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Thu, 13 Feb 2014 16:35:52 +0000 (17:35 +0100)
The shell can't handle functions without statements

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
files/sgw_policy_routing_setup.sh

index e872997..f8fee5f 100755 (executable)
@@ -69,10 +69,12 @@ function generic() {
 
 function olsrif() {
   # do nothing
+  echo -n "" > /dev/null
 }
 
 function sgwsrvtun() {
   # do nothing
+  echo -n "" > /dev/null
 }
 
 function egressif() {