openbsd-ports/comms/smstools/patches/patch-scripts_sendsms

19 lines
508 B
Plaintext

$OpenBSD: patch-scripts_sendsms,v 1.3 2010/09/21 22:40:26 sthen Exp $
--- scripts/sendsms.orig Thu Jul 8 13:41:13 2010
+++ scripts/sendsms Tue Sep 21 23:37:01 2010
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
# This script send a text sms at the command line by creating
# a sms file in the outgoing queue.
@@ -18,7 +18,7 @@ KEYS=""
# When creating keys, remember to use -n for echo:
# echo -n "key" | md5sum
-smsd_user="smsd"
+smsd_user="_smsd"
# Will need echo which accepts -n argument:
ECHO=echo