diff options
author | maximilian attems <max@stro.at> | 2008-03-30 04:02:10 +0200 |
---|---|---|
committer | maximilian attems <max@stro.at> | 2008-03-30 04:05:29 +0200 |
commit | 24031b44c4862f557a634eadbe532757a797de8f (patch) | |
tree | 2ba2233c01f360a0ed5169329fbd6c65943079cd /scripts | |
parent | 0da6088ae11f77ef6fc2a9180c805d491f8bb8c4 (diff) | |
download | initramfs-tools-24031b44c4862f557a634eadbe532757a797de8f.tar.gz initramfs-tools-24031b44c4862f557a634eadbe532757a797de8f.zip |
scripts/function: Use mknod directly.
No need to call chmod later on, now that klibc mknod can set permissions.
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/functions | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/functions b/scripts/functions index b4bd8cd..0648701 100644 --- a/scripts/functions +++ b/scripts/functions @@ -266,8 +266,7 @@ parse_numeric() { ;; esac - mknod /dev/root b ${major} ${minor} - chmod 600 /dev/root + mknod -m 600 /dev/root b ${major} ${minor} ROOT=/dev/root } |