aboutsummaryrefslogtreecommitdiff
path: root/emulators/vmware2/scripts/pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/vmware2/scripts/pre-install')
-rw-r--r--emulators/vmware2/scripts/pre-install19
1 files changed, 10 insertions, 9 deletions
diff --git a/emulators/vmware2/scripts/pre-install b/emulators/vmware2/scripts/pre-install
index 7a97e40ba5b5..771445b0ac01 100644
--- a/emulators/vmware2/scripts/pre-install
+++ b/emulators/vmware2/scripts/pre-install
@@ -1,15 +1,16 @@
#!/bin/sh
-echo Setup Linux compatible /dev directory
+
+echo Setup Linux compatible /dev directory
linux_dev=${LINUX_DIR}/dev
-if [ \! -d $linux_dev ]; then
- echo Creating $linux_dev
- mkdir $linux_dev
- chown root:wheel $linux_dev
- chmod 755 $linux_dev
+if [ ! -d $linux_dev ]; then
+ echo Creating $linux_dev
+ mkdir $linux_dev
+ chown root:wheel $linux_dev
+ chmod 755 $linux_dev
fi
echo Creating $linux_dev/tty\?
-for n in 0 1 2 3 4 5 6 7 8 9; do
- ln -s /dev/ttyv$n $linux_dev/tty`expr 1 + $n`;
+for n in 0 1 2 3 4 5 6 7 8 9; do
+ ln -s /dev/ttyv$n $linux_dev/tty`expr 1 + $n`;
done
ln -s /dev/ttyva ${linux_dev}/tty11
ln -s /dev/ttyvb ${linux_dev}/tty12
@@ -17,7 +18,7 @@ ln -s ${linux_dev}/tty1 ${linux_dev}/tty0
echo Creating $linux_dev/hd\?
mknod ${linux_dev}/hda b 0 0x00010002
mknod ${linux_dev}/hdb b 0 0x0001000a
-# Not enable wd2-3, because vmware-wizard locked, when
+# Do not enable below, because vmware-wizard is locked when
# doing something like access("/dev/hdc"...)
#mknod ${linux_dev}/hdc b 0 0x00010012
#mknod ${linux_dev}/hdd b 0 0x0001001a