hal/hald hald_runner.c,1.9,1.10

Danny Kukawka dkukawka at kemper.freedesktop.org
Wed May 17 13:12:19 PDT 2006


Update of /cvs/hal/hal/hald
In directory kemper:/tmp/cvs-serv2169/hald

Modified Files:
	hald_runner.c 
Log Message:
2006-05-17  Danny Kukawka  <danny.kukawka at web.de>

        Fixed path to the helper of the related backends, added several
        messages as e.g. UnknownError if backend not found (William Jon
        McCann <mccann at jhu.edu>) and if a needed environment variable is
        not set. Capture result of command polkit-is-privileged (William i
        Jon McCann <mccann at jhu.edu>)

        * hald/hald_runner.c: (hald_runner_start_runner): added
        PACKAGE_BIN_DIR to PATH
        * tools/hal-luks-remove:
        * tools/hal-luks-remove.in:
        * tools/hal-luks-setup:
        * tools/hal-luks-teardown:
        * tools/hal-system-lcd-get-brightness:
        * tools/hal-system-lcd-set-brightness:
        * tools/hal-system-power-hibernate:
        * tools/hal-system-power-reboot:
        * tools/hal-system-power-set-power-save:
        * tools/hal-system-power-shutdown:
        * tools/hal-system-power-suspend:
        * tools/hal-system-storage-cleanup-mountpoint:
        * tools/hal-system-storage-cleanup-mountpoints:
        * tools/hal-system-storage-eject:
        * tools/hal-system-storage-unmount: export MOUNT_POINT for the
        backend script William Jon McCann <mccann at jhu.edu>
        * tools/linux/hal-system-storage-eject-linux: added result of failed
        eject to error message (<mccann at jhu.edu>), added GIVEN_EJECTOPTIONS
        to the eject command
        * tools/linux/hal-system-storage-unmount-linux:



Index: hald_runner.c
===================================================================
RCS file: /cvs/hal/hal/hald/hald_runner.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- hald_runner.c	14 May 2006 18:49:53 -0000	1.9
+++ hald_runner.c	17 May 2006 20:12:17 -0000	1.10
@@ -96,9 +96,9 @@
              dbus_server_get_address(server));
   hald_runner_path = g_getenv("HALD_RUNNER_PATH");
   if (hald_runner_path != NULL) {
-	  env[1] = g_strdup_printf ("PATH=%s:" PACKAGE_LIBEXEC_DIR ":" PACKAGE_SCRIPT_DIR, hald_runner_path);
+	  env[1] = g_strdup_printf ("PATH=%s:" PACKAGE_LIBEXEC_DIR ":" PACKAGE_SCRIPT_DIR ":" PACKAGE_BIN_DIR, hald_runner_path);
   } else {
-	  env[1] = g_strdup_printf ("PATH=" PACKAGE_LIBEXEC_DIR ":" PACKAGE_SCRIPT_DIR);
+	  env[1] = g_strdup_printf ("PATH=" PACKAGE_LIBEXEC_DIR ":" PACKAGE_SCRIPT_DIR ":" PACKAGE_BIN_DIR);
   }
 
   /*env[2] = "DBUS_VERBOSE=1";*/




More information about the hal-commit mailing list