Quote:
Originally Posted by Antartica
I'll try to implement that tonight too .
|
Great!
You might as well add code to kill the busy led... This is what I do in xepdmgr.c :
Code:
#ifndef DUMMY_BUILD
#include <liberdm/erdm.h>
#include <liberipc/eripcbusyd.h>
#endif
Code:
if(argc>2) {
/* Start child process */
install_signal(SIGCHLD,sigchld);
if((child_pid=fork())==0) {
erClientChannel_t erbusyChannel;
erIpcStartClient(ER_BUSYD_CHANNEL, &erbusyChannel);
busySetBusy(erbusyChannel, ccBusyState_Off);
int fd;
/* Close unneeded fds */