Edit

IABSD.fr/ports/comms/smstools/patches/patch-scripts_sendsms

Branch :

  • Show log

    Commit

  • Author : sthen
    Date : 2010-09-21 22:40:26
    Hash : 535ece26
    Message : update smstools3 to 3.1.14, patch away a /bin/bash

  • comms/smstools/patches/patch-scripts_sendsms
  • $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