#!/bin/bash if [ "$1" == "id" ]; then ubnteeprom -tools else echo "Unknown ubnt-tools cmd: $@" >> /tmp/ubnt-tools-unknown.log fi