summaryrefslogtreecommitdiff
path: root/i/pc104/initrd/create.sh
diff options
context:
space:
mode:
Diffstat (limited to 'i/pc104/initrd/create.sh')
-rwxr-xr-xi/pc104/initrd/create.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/i/pc104/initrd/create.sh b/i/pc104/initrd/create.sh
index b991c83..b0d66ab 100755
--- a/i/pc104/initrd/create.sh
+++ b/i/pc104/initrd/create.sh
@@ -54,7 +54,9 @@ create_empty_struct ()
# Create all the devices files we need
create_dev
# Fstab
- install -m 755 $INITRD_CONFIG_DIR/fstab $INITRD_TEMPDIR/etc/fstab
+ install -m 644 $INITRD_CONFIG_DIR/fstab $INITRD_TEMPDIR/etc/fstab
+ # Inittab
+ #install -m 644 $INITRD_CONFIG_DIR/inittab $INITRD_TEMPDIR/etc/inittab
# Copy the linuxrc script
install -m 755 $INITRD_CONFIG_DIR/linuxrc $INITRD_TEMPDIR/linuxrc
}
@@ -70,6 +72,8 @@ create_dev ()
$makedev -v std
# Create the console for logging ? Useful ? XXX
$makedev -v consoleonly
+ #tty1 tty2 tty3 tty4 tty5
+ #$makedev -v ttyS0 ttyS1 ttyS2 ttyS3 ttyS4 ttyS5 ttyS6
# XXX Complete...
# Back to the originated directory
cd $cur_dir