force halt/reboot if using gentoo init style, enable syslog stub by default for gento...
[util-vserver.git] / distrib / gentoo / initpre
index 4d18d69..374c134 100755 (executable)
@@ -43,6 +43,11 @@ else
 fi
 
 
+# prevent dmesg errors/warnings
+echo ">>> Enabling dummy /proc/kmsg"
+echo syslog >> "$1"/ccapabilities
+
+
 # initstyle sanity
 initstyle=sysv
 test -e "$1"/apps/init/style && initstyle=$(<"$1"/apps/init/style)