diff options
author | Dave Brolley <brolley@redhat.com> | 2009-05-04 16:05:22 -0400 |
---|---|---|
committer | Dave Brolley <brolley@redhat.com> | 2009-05-04 16:05:22 -0400 |
commit | 2035bcd40b17832439df0a1eb28403b99a71b74f (patch) | |
tree | 0fb027ba40f34513279f2e39e1110b50a415d2c1 /stap-start-server | |
parent | 3ba2eb82cafa938c1c3f7ef9d2da06912a49d8e0 (diff) | |
download | systemtap-steved-2035bcd40b17832439df0a1eb28403b99a71b74f.tar.gz systemtap-steved-2035bcd40b17832439df0a1eb28403b99a71b74f.tar.xz systemtap-steved-2035bcd40b17832439df0a1eb28403b99a71b74f.zip |
Module signing and verification using a separate file for the module signature.
Diffstat (limited to 'stap-start-server')
-rwxr-xr-x | stap-start-server | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/stap-start-server b/stap-start-server index d718ed30..6471db96 100755 --- a/stap-start-server +++ b/stap-start-server @@ -12,14 +12,11 @@ # This script attempts to start a systemtap server and echoes the # process id, if successful. -# INSTALL-HOOK These settings work for running the client from the source tree -# INSTALL-HOOK using the dejagnu test harness and will be overridden at install -# INSTALL-HOOK time. -exec_prefix= -sysconfdir=`pwd`/net +# Initialize the environment +. `dirname $0`/stap-env # start the server -${exec_prefix}stap-serverd "$@" </dev/null >/dev/null 2>&1 & +${stap_exec_prefix}stap-serverd "$@" </dev/null >/dev/null 2>&1 & server_pid=$! # Make sure the server is started @@ -30,6 +27,7 @@ do sleep 1 continue fi + # Is avahi advertizing the server? if ! (ps -fa | grep avahi-publish-service | grep $server_pid) > /dev/null 2>&1; then sleep 1 |