summaryrefslogtreecommitdiff
path: root/init/init.c
diff options
context:
space:
mode:
authorDenis Vlasenko2007-11-18 05:43:05 +0000
committerDenis Vlasenko2007-11-18 05:43:05 +0000
commit70ab28f90776de54cd136a411b2914b1b88cc3de (patch)
tree29fa4f8623d91ff11ade01416f7d0ac0ae5d09ee /init/init.c
parentfbe5f39f0fe0439678581fdad153f1df437f395d (diff)
downloadbusybox-70ab28f90776de54cd136a411b2914b1b88cc3de.zip
busybox-70ab28f90776de54cd136a411b2914b1b88cc3de.tar.gz
syslogd: use DEV_CONSOLE consistently
init: remove obsolete comment
Diffstat (limited to 'init/init.c')
-rw-r--r--init/init.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/init/init.c b/init/init.c
index 9891087..fe0ec03 100644
--- a/init/init.c
+++ b/init/init.c
@@ -11,9 +11,6 @@
#include "libbb.h"
#include <paths.h>
-//#include <signal.h>
-//#include <sys/ioctl.h>
-//#include <sys/wait.h>
#include <sys/reboot.h>
#if ENABLE_FEATURE_INIT_SYSLOG
@@ -977,7 +974,6 @@ int init_main(int argc, char **argv)
BB_EXECVP(argv[0], argv);
} else if (enforce > 0) {
/* SELinux in enforcing mode but load_policy failed */
- /* At this point, we probably can't open /dev/console, so log() won't work */
message(L_CONSOLE, "Cannot load SELinux Policy. "
"Machine is in enforcing mode. Halting now.");
exit(1);