From a68085ce6263f6e068e9e8d1760f33d53e6c5ea3 Mon Sep 17 00:00:00 2001 From: wbx Date: Tue, 31 Jan 2006 16:51:23 +0000 Subject: ser -> openser from wr git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3094 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- openwrt/package/openser/patches/sc.dbtext.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 openwrt/package/openser/patches/sc.dbtext.patch (limited to 'openwrt/package/openser/patches/sc.dbtext.patch') diff --git a/openwrt/package/openser/patches/sc.dbtext.patch b/openwrt/package/openser/patches/sc.dbtext.patch new file mode 100644 index 000000000..2a1b7eab1 --- /dev/null +++ b/openwrt/package/openser/patches/sc.dbtext.patch @@ -0,0 +1,22 @@ +--- openser-1.0.0-tls.orig/scripts/sc.dbtext 2005-07-29 21:05:36.000000000 +0200 ++++ openser-1.0.0-tls/scripts/sc.dbtext 2006-01-29 02:30:31.795349688 +0100 +@@ -62,6 +62,10 @@ + ##### ----------------------------------------------- ##### + #### table names + ++if [ -z "$SIP_DOMAIN" ] ; then ++ SIP_DOMAIN=$(nvram get sip_domain) ++fi ++ + # UsrLoc Table + if [ -z "$UL_TABLE" ] ; then + UL_TABLE=location +@@ -247,7 +251,7 @@ + fi + + if [ -z "$SERDOMAIN" ] ; then +- echo -e "\nDomain unknown: use usernames with domain or set default domain in SIP_DOMAIN\n" ++ echo -e "\nDomain unknown: use usernames with domain or set default domain in SIP_DOMAIN (with 'nvram set sip_domain=YOUR_SIP_DOMAIN')\n" + exit 1 + fi + } -- cgit v1.2.3