SHA256
16 lines
251 B
Bash
Executable File
16 lines
251 B
Bash
Executable File
#!/bin/sh
|
|
|
|
mount -o remount,rw /
|
|
|
|
umount -q /dev /sys /proc /run
|
|
|
|
mount -t tmpfs run /run
|
|
mount -t sysfs sys /sys
|
|
mount -t proc proc /proc
|
|
|
|
if grep -q devtmpfs /proc/filesystems; then
|
|
mount -t devtmpfs dev /dev
|
|
else
|
|
mount -t tmpfs dev /dev
|
|
fi
|