in rc.init copy log from previous boot to place of safety
This commit is contained in:
@@ -22,6 +22,11 @@ mount -t tmpfs none /tmp
|
||||
mkdir /dev/pts
|
||||
mount -t devpts none /dev/pts
|
||||
|
||||
if test -c /dev/pmsg0 ; then
|
||||
mount -t pstore none /sys/fs/pstore
|
||||
(cat /sys/fs/pstore/* && rm /sys/fs/pstore/*) > /run/log/previous-boot
|
||||
fi
|
||||
|
||||
mkdir -m 0751 -p /run/services/outputs
|
||||
chgrp system /run/services/outputs
|
||||
|
||||
|
Reference in New Issue
Block a user