From: Richard Yao Date: Tue, 17 Jul 2012 20:22:40 +0000 (-0400) Subject: Fix typo in previous commit. X-Git-Tag: v3.4.39~5 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b8626e78ef1e534ee95a058d2a2b8f530d432aad;p=genkernel.git Fix typo in previous commit. --- diff --git a/defaults/initrd.scripts b/defaults/initrd.scripts index a2edeee..46364de 100755 --- a/defaults/initrd.scripts +++ b/defaults/initrd.scripts @@ -307,13 +307,13 @@ mount_devfs () { fi # Options copied from /etc/init.d/udev-mount, should probably be kept in sync - if grep -qs grep '^devtmpfs' /proc/mounts; then + if grep -qs '^devtmpfs' /proc/mounts; then mount -t $devfs -o "exec,nosuid,mode=0755,size=10M" udev /dev \ || bad_msg "Failed to mount /dev as ${devfs}" fi # http://git.busybox.net/busybox/plain/docs/mdev.txt - if grep -qs grep '^devpts' /proc/mounts; then + if grep -qs '^devpts' /proc/mounts; then mkdir -m 0755 /dev/pts mount -t devpts -o gid=5,mode=0620 devpts /dev/pts || bad_msg "Failed to mount /dev/pts" fi