banish bashism

This commit is contained in:
Matthias Radestock committed 2014-08-28 16:18:30 +01:00
1 parent 753af453ef
commit 9924f420e5
1 file changed
+2 -2
+2 -2
View File
@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
set -e
BRIDGE=weave
@@ -42,7 +42,7 @@ shift 2 || usage
#
# TODO use the mac of one of the physical host interfaces (eth0,
# wlan0, etc) so the name becomes stable across host restarts.
MACADDR=$(</sys/class/net/$BRIDGE/address)
MACADDR=`cat /sys/class/net/$BRIDGE/address`
case "$COMMAND" in
launch)