From b7278cda1ffbe3f1e711adb40577ad12f3527260 Mon Sep 17 00:00:00 2001 From: Dave Brolley Date: Tue, 8 Jul 2008 14:22:11 -0400 Subject: Use `uname -rvm` for checking system compatibility. Generate a finale response from the server to allow for error checking. --- stap-serverd | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'stap-serverd') 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" } -- cgit