From 24031b44c4862f557a634eadbe532757a797de8f Mon Sep 17 00:00:00 2001 From: maximilian attems Date: Sun, 30 Mar 2008 04:02:10 +0200 Subject: scripts/function: Use mknod directly. No need to call chmod later on, now that klibc mknod can set permissions. --- scripts/functions | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'scripts/functions') 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 } -- cgit v1.2.3