#!/bin/sh cat << EOF devices = GSM logfile = /var/log/smsd.log loglevel = $SMSTOOLS3_LOGLEVEL [GSM] device = $SMSTOOLS3_DEVICE incoming = yes EOF [ -n "$SMSTOOLS3_PIN" ] && echo "pin = $SMSTOOLS3_PIN"