commit 0a9ec735a7ee5b1d33ece9120ec501c205691ca0
parent d3647775eae447fd09dea97dbf0fc32a756c46b6
Author: sin <sin@2f30.org>
Date: Fri, 20 Sep 2013 16:51:32 +0100
Print more info and store the dmesg output to /var/log/dmesg.log
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/etc/rc b/etc/rc
@@ -17,8 +17,10 @@ mount -n -t devpts devpts /dev/pts
echo Running smdev
smdev -s
+echo Setting smdev as the kernel hotplug
echo /bin/smdev > /proc/sys/kernel/hotplug
+echo "Setting hostname to $HOSTNAME"
hostname $HOSTNAME
HWCLOCK_PARAMS="-s"
@@ -43,6 +45,10 @@ if [ -n "$HWCLOCK_PARAMS" ]; then
unset TZ
fi
+echo Storing dmesg output to /var/log/dmesg.log
+dmesg > /var/log/dmesg.log
+
+echo Generating dropbear keys
if [ -x /etc/dropbearkeys ]; then
/etc/dropbearkeys
fi