diff options
author | Patrick Simianer <p@simianer.de> | 2015-01-19 18:30:05 +0100 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2015-01-19 18:30:05 +0100 |
commit | e6d536e1b9c91a167eb79f288a17496712a330f2 (patch) | |
tree | 027decf25e5dbc6b8079b66a28ce64d57b979320 /init | |
parent | 78e0430e8e5973f34e82ab4a97ab2dd83f27ed01 (diff) |
simplified
Diffstat (limited to 'init')
-rwxr-xr-x | init | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -41,9 +41,12 @@ cryptsetup_do() mount_root() { echo "mount root $1" - mount -o ro $1 /newroot + mount $1 /newroot } +# setup directories +mkdir -p /dev /proc /sys /newroot + # Mount the /dev, /proc and /sys filesystems. mount -t devtmpfs none /dev mount -t proc none /proc @@ -52,7 +55,6 @@ mount -t sysfs none /sys # Do your stuff here. prep_dev cryptsetup_do $HOME home -#resume mount_root $ROOT || rescue_shell # Clean up. |