mirror of
https://github.com/srlabs/blue-merle.git
synced 2025-01-03 03:20:52 -05:00
mac-wipe: fix syntax error for argument comparison
This commit is contained in:
parent
9466707119
commit
a0fad3a833
@ -16,7 +16,7 @@ cp -a "$tmpdir/client.db" /etc/oui-tertf/client.db
|
|||||||
umount -t tmpfs -l "$tmpdir"
|
umount -t tmpfs -l "$tmpdir"
|
||||||
|
|
||||||
|
|
||||||
if [ $1 == "restart" ]; then
|
if [[ "$1" == "restart" ]]; then
|
||||||
logger -p notice -t blue-merle-mac-wipe "Restarting tertf..."
|
logger -p notice -t blue-merle-mac-wipe "Restarting tertf..."
|
||||||
/etc/init.d/gl-tertf start
|
/etc/init.d/gl-tertf start
|
||||||
logger -p notice -t blue-merle-mac-wipe "... Finished"
|
logger -p notice -t blue-merle-mac-wipe "... Finished"
|
||||||
|
Loading…
Reference in New Issue
Block a user