1
0
mirror of https://github.com/MichielDerhaeg/build-linux.git synced 2025-09-25 14:59:07 +02:00

shame on me

This commit is contained in:
Michiel Derhaeg
2016-08-18 14:28:39 +02:00
parent 517586891e
commit 943ab0802c

View File

@@ -8,9 +8,10 @@ init() {
mkdir -p /dev/pts /dev/shm # TODO check if in filesystem
/usr/bin/mount -t devpts devpts /dev/pts
/usr/bin/mount -t tmpfs tmpfs /dev/shm
/usr/bin/mount -t tmpfs tmpfs /run
if [[ -f /etc/hostname ]]; then
echo "$(cat /etc/hostname)" > /proc/sys/kernel/hostname
cat /etc/hostname > /proc/sys/kernel/hostname
fi
/sbin/mdev -s