mirror of
https://github.com/troglobit/finit.git
synced 2026-11-13 17:00:16 +00:00
Add bloat for gnome-volume-manager: start dbus and consolekit
Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
This commit is contained in:
1 parent
c324eff01a
commit
b0746f5220
1 file changed
+12
+12
@@ -58,6 +58,9 @@ THE SOFTWARE.
|
|||||||
#define LISTEN_INITCTL
|
#define LISTEN_INITCTL
|
||||||
#define RUNLEVEL 5
|
#define RUNLEVEL 5
|
||||||
#define USE_VAR_RUN_RESOLVCONF
|
#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 */
|
#elif defined DIST_EEEXUBUNTU /* eeeXubuntu */
|
||||||
#define RANDOMSEED "/var/lib/urandom/random-seed"
|
#define RANDOMSEED "/var/lib/urandom/random-seed"
|
||||||
#define SYSROOT "/sysroot"
|
#define SYSROOT "/sysroot"
|
||||||
@@ -508,6 +511,15 @@ int main()
|
|||||||
|
|
||||||
touch("/tmp/nologin");
|
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
|
#ifdef LISTEN_INITCTL
|
||||||
listen_initctl();
|
listen_initctl();
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in new issue
Block a user