# 2. We don't need all the logging crud that daemon/initlog sets
# up -- gsmd does its own syslog calls.
#
- if [ -e "${GPS_DEV}" ]
+ if [ -e "${GSM_DEV}" ]
then
chown uucp.uucp ${GSM_DEV}
mkdir -fp /usr/spool/uucp
chown uucp.uucp /usr/spool/uucp
stty -F /dev/ttySAC0 crtscts
- gsmd -p ${GPS_DEV} ${GPSD_OPTS}
+ gsmd -p ${GSM_DEV} ${GSMD_OPTS}
echo "success"
else
# User needs to symlink ${GPS_DEV} to the right thing
- echo "No ${GPS_DEV} device, aborting gsmd startup."
+ echo "No ${GSM_DEV} device, aborting gsmd startup."
fi
RETVAL=$?
echo