Hi,as it is not guaranteed, that dbus-send is in /bin (e.g. on Debian, Ubuntu and Gentoo it is in /usr/bin), I simply stripped of the leading path.
Michael -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
diff --git a/scripts/helper_functions b/scripts/helper_functions
index c2b71ea..61fced1 100644
--- a/scripts/helper_functions
+++ b/scripts/helper_functions
@@ -251,7 +251,7 @@ script_return() {
return 1;
fi
- /bin/dbus-send --system --print-reply \
+ dbus-send --system --print-reply \
--dest=com.novell.powersave \
/com/novell/powersave/scripts \
com.novell.powersave.scripts.ScriptReturn \
diff --git a/scripts/powersave-notify b/scripts/powersave-notify
index 8f1b694..669afe7 100755
--- a/scripts/powersave-notify
+++ b/scripts/powersave-notify
@@ -21,7 +21,7 @@
# #
###########################################################################
-/bin/dbus-send --system --print-reply --dest=com.novell.powersave \
+dbus-send --system --print-reply --dest=com.novell.powersave \
/com/novell/powersave/scripts \
com.novell.powersave.scripts.ScriptReturn int32:-1 int32:2 \
string:"$*"
signature.asc
Description: OpenPGP digital signature
_______________________________________________ powersave-devel mailing list [email protected] http://forge.novell.com/mailman/listinfo/powersave-devel
