|
@@ -203,15 +203,14 @@ else
|
|
fi
|
|
fi
|
|
|
|
|
|
# Copy the boot log on initial boot only
|
|
# Copy the boot log on initial boot only
|
|
-if [ "${previous}" == "N" ]; then
|
|
|
|
|
|
+if [ "${previous}" == "N" -a "${runlevel}" != "S" ]; then
|
|
cat /run/var/bootlog >> /var/log/boot.log
|
|
cat /run/var/bootlog >> /var/log/boot.log
|
|
-
|
|
|
|
- if [ "${runlevel}" != "S" ]; then
|
|
|
|
- # Mark the end of boot
|
|
|
|
- echo "--------" >> /var/log/boot.log
|
|
|
|
- # Remove the temporary file
|
|
|
|
- rm -f /run/var/bootlog 2> /dev/null
|
|
|
|
- fi
|
|
|
|
|
|
+
|
|
|
|
+ # Mark the end of boot
|
|
|
|
+ echo "--------" >> /var/log/boot.log
|
|
|
|
+
|
|
|
|
+ # Remove the temporary file
|
|
|
|
+ rm -f /run/var/bootlog 2> /dev/null
|
|
fi
|
|
fi
|
|
|
|
|
|
# End rc
|
|
# End rc
|