smstools-config-install 200 Bytes
#!/bin/bash
set -x

DIRFILE=`dirname "$0"`
cd "$DIRFILE/.."
echo `pwd`

TARGETFILE=$1
if [ -z "$TARGETFILE" ]; then
    exit 0
fi

sudo install smsd.conf.tmp "$TARGETFILE"
sudo systemctl restart sms3