diff options
author | maximilian attems <max@stro.at> | 2008-03-30 04:01:06 +0200 |
---|---|---|
committer | maximilian attems <max@stro.at> | 2008-03-30 04:05:11 +0200 |
commit | 0da6088ae11f77ef6fc2a9180c805d491f8bb8c4 (patch) | |
tree | 776a97208b0329f36c13794de6213e2d3d4bdfd6 /init | |
parent | 6c25b07c692fb34f735b049be6cac4da33125b6d (diff) | |
download | initramfs-tools-0da6088ae11f77ef6fc2a9180c805d491f8bb8c4.tar.gz initramfs-tools-0da6088ae11f77ef6fc2a9180c805d491f8bb8c4.zip |
init: Set proper permissions of /dev/console mknod fallback.
if /dev/console doesn't yet exist it should be created
with proper permissions.
Diffstat (limited to 'init')
-rwxr-xr-x | init | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -18,7 +18,7 @@ if [ -e /etc/udev/udev.conf ]; then . /etc/udev/udev.conf fi mount -t tmpfs -o size=$tmpfs_size,mode=0755 udev /dev -[ -e /dev/console ] || mknod /dev/console c 5 1 +[ -e /dev/console ] || mknod -m 0600 /dev/console c 5 1 [ -e /dev/null ] || mknod /dev/null c 1 3 > /dev/.initramfs-tools mkdir /dev/.initramfs |