diff options
Diffstat (limited to 'net/sipxcommserverlib/files/patch-etc_config.defs.in')
-rw-r--r-- | net/sipxcommserverlib/files/patch-etc_config.defs.in | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/net/sipxcommserverlib/files/patch-etc_config.defs.in b/net/sipxcommserverlib/files/patch-etc_config.defs.in new file mode 100644 index 000000000000..01180c362ab6 --- /dev/null +++ b/net/sipxcommserverlib/files/patch-etc_config.defs.in @@ -0,0 +1,29 @@ +--- ./etc/config.defs.in.orig Sun Dec 31 14:13:17 2006 ++++ ./etc/config.defs.in Thu Jan 4 13:33:39 2007 +@@ -12,10 +12,10 @@ + # host name (e.g. myhost.domain.com). + # If you use DNS SRV, the SIPXCHANGE_DOMAIN_NAME should be set + # to domain name (e.g. domain.com), so comment out the assignment +-# below that uses -f and uncomment the one that uses -d: ++# below that uses hostname and uncomment the one that uses hostname | cut + # +-SIPXCHANGE_DOMAIN_NAME=`hostname -f` +-# SIPXCHANGE_DOMAIN_NAME=`hostname -d` ++SIPXCHANGE_DOMAIN_NAME=`hostname` ++# SIPXCHANGE_DOMAIN_NAME=`hostname | cut -d . -f 2-` + + #### Core Limit + # Control whether or not core files are saved in a server failure. +@@ -24,10 +24,10 @@ + SIPX_CORELIMIT=unlimited + + # the realm string used in authentication challenges +-SIPXCHANGE_REALM=`hostname -d` ++SIPXCHANGE_REALM=`hostname | cut -d . -f 2-` + + ##### Information about this server ##### +-MY_FULL_HOSTNAME=`hostname -f` ++MY_FULL_HOSTNAME=`hostname` + MY_HOSTNAME=`hostname -s` + MY_IP_ADDR=`@bindir@/get_def_addr` + |