diff options
author | Dave Brolley <brolley@redhat.com> | 2008-07-08 14:22:11 -0400 |
---|---|---|
committer | Dave Brolley <brolley@redhat.com> | 2008-07-08 14:22:11 -0400 |
commit | b7278cda1ffbe3f1e711adb40577ad12f3527260 (patch) | |
tree | 9957df6965fac4cee1d2444745029ce378e6e461 /stap-serverd | |
parent | ff7b8b4a8fbcba5e78e72617753fd33f6f3ebc07 (diff) | |
download | systemtap-steved-b7278cda1ffbe3f1e711adb40577ad12f3527260.tar.gz systemtap-steved-b7278cda1ffbe3f1e711adb40577ad12f3527260.tar.xz systemtap-steved-b7278cda1ffbe3f1e711adb40577ad12f3527260.zip |
Use `uname -rvm` for checking system compatibility. Generate
a finale response from the server to allow for error checking.
Diffstat (limited to 'stap-serverd')
-rwxr-xr-x | stap-serverd | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/stap-serverd b/stap-serverd index 2c0743c0..eaaeda00 100755 --- a/stap-serverd +++ b/stap-serverd @@ -34,13 +34,12 @@ function initialization { function advertise_presence { # Build up a string representing our server's properties. # TODO: this needs fleshing out. - - local sysinfo=`uname -r` + local sysinfo=`uname -rvm` local txt="$sysinfo" # Call avahi-publish-service to advertise our presence. avahi-publish-service "Systemtap Compile Server on `uname -n`" \ - $avahi_type $port $txt > /dev/null 2>&1 & + $avahi_type $port "$txt" > /dev/null 2>&1 & echo "Systemtap Compile Server on `uname -n` listening on port $port" } |