20 lines
694 B
Plaintext
20 lines
694 B
Plaintext
|
$OpenBSD: patch-scripts_kamctl,v 1.1.1.1 2009/06/04 13:44:09 sthen Exp $
|
||
|
|
||
|
# N.B. Hand-edited to avoid CVS keywords.
|
||
|
|
||
|
--- scripts/kamctl.orig Wed May 13 21:34:58 2009
|
||
|
+++ scripts/kamctl Wed May 13 21:36:31 2009
|
||
|
@@ -1,2 +1,2 @@
|
||
|
-#!/usr/local/bin/bash
|
||
|
+#!/bin/sh
|
||
|
#
|
||
|
@@ -1654,7 +1654,7 @@ openser_stop() {
|
||
|
options_ping() {
|
||
|
myhost=`get_my_host`
|
||
|
require_ctlengine
|
||
|
- CMD="t_uac_dlg OPTIONS \"$1\" \".\" \".\" \"From:daemon@$myhost"$'\r\n'"To:<$1>"$'\r\n'"Contact:daemon@$myhost"$'\r\n'"\""
|
||
|
+ CMD="t_uac_dlg OPTIONS \"$1\" \".\" \".\" \"From:daemon@$myhost"$(printf '\r\n')"To:<$1>"$(printf '\r\n')"Contact:daemon@$myhost"$(printf '\r\n')"\""
|
||
|
RET=`$CTLCMD $CMD | head -1`
|
||
|
print_status $RET
|
||
|
}
|