summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorThomas Bächler <thomas@archlinux.org>2010-01-10 17:25:22 +0100
committerThomas Bächler <thomas@archlinux.org>2010-01-10 17:25:22 +0100
commit167ed25684ec5aecf567cafd215a01401803a7b9 (patch)
treedd39a76fadd04580b39614bffdba278a3cf503da /init
parent9f85179b7fd706ddc9b5386dfae3514f16ca26f9 (diff)
downloadmkinitcpio-167ed25684ec5aecf567cafd215a01401803a7b9.tar.gz
mkinitcpio-167ed25684ec5aecf567cafd215a01401803a7b9.tar.xz
Do not mount /proc before busybox --install - this requires CONFIG_BUSYBOX_EXEC_PATH="/bin/busybox" in busybox
Diffstat (limited to 'init')
-rw-r--r--init5
1 files changed, 2 insertions, 3 deletions
diff --git a/init b/init
index e77a0dc..c70d309 100644
--- a/init
+++ b/init
@@ -1,13 +1,12 @@
#!/bin/busybox ash
-# Mount /proc so busybox can access /proc/self/exe
-/bin/busybox mount -t proc proc /proc
# Install busybox's applets as symlinks
/bin/busybox --install -s
. /init_functions
msg ":: Loading Initramfs"
-/bin/mount -t sysfs none /sys
+/bin/mount -t proc proc /proc
+/bin/mount -t sysfs sys /sys
read CMDLINE </proc/cmdline
export CMDLINE