diff options
author | Fernando Reyes (likewhoa) <design@missionaccomplish.com> | 2014-06-25 00:36:40 +0200 |
---|---|---|
committer | Rick Farina (Zero_Chaos) <zerochaos@gentoo.org> | 2015-08-11 14:21:16 -0400 |
commit | 539d2eb0b91d617ff4a83910b507248c02ce6caf (patch) | |
tree | 94ab3795930e545404b81133287b8963e6cd5ee7 /defaults | |
parent | Introduced a new funtion to test for numeric values that that our changes_fs ... (diff) | |
download | genkernel-539d2eb0b91d617ff4a83910b507248c02ce6caf.tar.gz genkernel-539d2eb0b91d617ff4a83910b507248c02ce6caf.tar.bz2 genkernel-539d2eb0b91d617ff4a83910b507248c02ce6caf.zip |
Reverting back old mknod permission settings for netboot compatibility
Diffstat (limited to 'defaults')
-rw-r--r-- | defaults/initrd.scripts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/defaults/initrd.scripts b/defaults/initrd.scripts index 02842bff..9b88d6a8 100644 --- a/defaults/initrd.scripts +++ b/defaults/initrd.scripts @@ -205,10 +205,10 @@ bootstrapFS() { done [ ! -d "${CDROOT_PATH}" ] && mkdir -p "${CDROOT_PATH}" - [ ! -e "${NEW_ROOT}/dev/null" ] && mknod "${NEW_ROOT}"/dev/null c 1 3 - [ ! -e "${NEW_ROOT}/dev/zero" ] && mknod -m 660 "${NEW_ROOT}"/dev/zero c 1 5 - [ ! -e "${NEW_ROOT}/dev/console" ] && mknod "${NEW_ROOT}"/dev/console c 5 1 - [ ! -e "${NEW_ROOT}/dev/ttyS0" ] && mknod -m 600 "${NEW_ROOT}"/dev/ttyS0 c 4 64 + [ ! -e "${NEW_ROOT}/dev/null" ] && mknod -m 666 "${NEW_ROOT}"/dev/null c 1 3 + [ ! -e "${NEW_ROOT}/dev/zero" ] && mknod -m 666 "${NEW_ROOT}"/dev/zero c 1 5 + [ ! -e "${NEW_ROOT}/dev/console" ] && mknod -m 600 "${NEW_ROOT}"/dev/console c 5 1 + [ ! -e "${NEW_ROOT}/dev/ttyS0" ] && mknod -m 660 "${NEW_ROOT}"/dev/ttyS0 c 4 64 # For SGI LiveCDs if [ "${LOOPTYPE}" = "sgimips" ]; then |