ref: refs/heads/master
commit 25bea2627345c91f2e7fed163f3d807669666cd8
Author: Ladislav Slezak
Date: Wed Nov 25 11:19:15 2009 +0100
yastwc init script - print the URL where the service is running
after start (bnc#554556)
- 0.0.22
---
webclient/package/yast2-webclient.changes | 7 +++++++
webclient/package/yast2-webclient.spec | 2 +-
webclient/package/yastwc | 6 ++++++
3 files changed, 14 insertions(+), 1 deletions(-)
diff --git a/webclient/package/yast2-webclient.changes b/webclient/package/yast2-webclient.changes
index 0f9db2e..f41c7e0 100644
--- a/webclient/package/yast2-webclient.changes
+++ b/webclient/package/yast2-webclient.changes
@@ -1,4 +1,11 @@
-------------------------------------------------------------------
+Wed Nov 25 10:15:27 UTC 2009 - lslezak@suse.cz
+
+- yastwc init script - print the URL where the service is running
+ after start (bnc#554556)
+- 0.0.22
+
+-------------------------------------------------------------------
Tue Nov 24 16:03:39 CET 2009 - jdsn@suse.de
- set organization and unit name in SSL certificate (bnc#557761)
diff --git a/webclient/package/yast2-webclient.spec b/webclient/package/yast2-webclient.spec
index e56d4bf..77b18af 100644
--- a/webclient/package/yast2-webclient.spec
+++ b/webclient/package/yast2-webclient.spec
@@ -17,7 +17,7 @@ PreReq: rubygem-gettext_rails
License: LGPL v2.1;ASLv2.0
Group: Productivity/Networking/Web/Utilities
Autoreqprov: on
-Version: 0.0.21
+Version: 0.0.22
Release: 0
Summary: YaST2 - Webclient
Source: www.tar.bz2
diff --git a/webclient/package/yastwc b/webclient/package/yastwc
index a1ecf25..164dcfa 100755
--- a/webclient/package/yastwc
+++ b/webclient/package/yastwc
@@ -194,6 +194,12 @@ case "$1" in
# Remember status and be verbose
rc_status -v
+
+ # print the URL of the server
+ if test "$?" -eq 0; then
+ echo -e "\t${done}The WebYaST client service is running at https://"`LC_ALL=C ifconfig eth0 | grep "inet addr" | cut -d ":" -f 2 | cut -d " " -f 1`":54984/${norm}\n"
+ fi
+
;;
stop)
echo -n "Shutting down yastwc "
--
To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org
For additional commands, e-mail: yast-commit+help@opensuse.org