Add bloat for gnome-volume-manager: start dbus and consolekit

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
This commit is contained in:
Claudio Matsuoka
2008-08-15 18:59:49 -03:00
parent c324eff01a
commit b0746f5220
+12
View File
@@ -58,6 +58,9 @@ THE SOFTWARE.
#define LISTEN_INITCTL
#define RUNLEVEL 5
#define USE_VAR_RUN_RESOLVCONF
#define USE_MESSAGE_BUS
#define USE_CONSOLEKIT
#define MESSAGE_BUS_START "/etc/init.d/messagebus start"
#elif defined DIST_EEEXUBUNTU /* eeeXubuntu */
#define RANDOMSEED "/var/lib/urandom/random-seed"
#define SYSROOT "/sysroot"
@@ -508,6 +511,15 @@ int main()
touch("/tmp/nologin");
#ifdef USE_MESSAGE_BUS
mkdir("/var/run/dbus", 0755);
mkdir("/var/lock/subsys/messagebus", 0755);
system(MESSAGE_BUS_START);
#endif
#ifdef USE_CONSOLEKIT
system("/usr/sbin/console-kit-daemon");
#endif
#ifdef LISTEN_INITCTL
listen_initctl();
#endif