new start scripts
authorPaul J R <me@pjr.cc>
Sat, 24 Aug 2013 12:03:31 +0000 (22:03 +1000)
committerPaul J R <me@pjr.cc>
Sat, 24 Aug 2013 12:03:31 +0000 (22:03 +1000)
src/bootimage/syslinux/syslinux.cfg [new file with mode: 0755]
src/buildroot-2013.05/custom/filesystem/etc/init.d/S01mounts [moved from src/buildroot-2013.05/custom/filesystem/etc/init.d/S02mounts with 100% similarity]
src/buildroot-2013.05/custom/filesystem/etc/init.d/S02custom_pre_startup [new file with mode: 0755]
src/buildroot-2013.05/custom/filesystem/etc/init.d/S80custom_startup [deleted file]
src/buildroot-2013.05/custom/filesystem/pjr_custom_stuff [deleted file]

diff --git a/src/bootimage/syslinux/syslinux.cfg b/src/bootimage/syslinux/syslinux.cfg
new file mode 100755 (executable)
index 0000000..3916e4e
--- /dev/null
@@ -0,0 +1,6 @@
+timeout 100
+
+default wyse
+label wyse
+       kernel /boot/kernel
+       append initrd=/boot/initrd ignore_loglevel pata_cs5536.msr=1 pci=nobios kmap=qwerty/uk waitusb=5
diff --git a/src/buildroot-2013.05/custom/filesystem/etc/init.d/S02custom_pre_startup b/src/buildroot-2013.05/custom/filesystem/etc/init.d/S02custom_pre_startup
new file mode 100755 (executable)
index 0000000..dd39d06
--- /dev/null
@@ -0,0 +1,37 @@
+#!/bin/sh
+
+# deal with our mounts
+mkdir /proc > /dev/null 2>&1
+mount -t proc proc /proc
+mkdir /sys > /dev/null 2>&1
+mount -t sysfs sys /sys
+mkdir -p /dev/pts > /dev/null 2>&1
+mount -t devpts devpts /dev/pts
+mount /tmp > /dev/null 2>&1
+
+
+# create out gps0
+ln -s /dev/ttyS0 /dev/gps0
+mknod -m 0664 /dev/pps0 c 252 0
+ln -s /dev/pps0 /dev/gpspps0
+
+# mount the config file system
+mkdir /fs > /dev/null 2>&1
+mount /dev/sda1 /fs > /dev/null 2>&1
+
+if [ -f /fs/config/system ]
+then
+       . /fs/config/system
+fi
+
+if [ -f /fs/config/dropbear_dss_host_key ]
+then
+       cp /fs/config/dropbear_dss_host_key /etc/dropbear
+       chmod 600 /etc/dropbear/dropbear_dss_host_key
+fi
+
+if [ -f /fs/config/dropbear_rsa_host_key ]
+then
+       cp /fs/config/dropbear_rsa_host_key /etc/dropbear
+       chmod 600 /etc/dropbear/dropbear_rsa_host_key
+fi
diff --git a/src/buildroot-2013.05/custom/filesystem/etc/init.d/S80custom_startup b/src/buildroot-2013.05/custom/filesystem/etc/init.d/S80custom_startup
deleted file mode 100755 (executable)
index 895608c..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/sh
-
-
-# create out gps0
-ln -s /dev/ttyS0 /dev/gps0
-mknod -m 0664 /dev/pps0 c 252 0
-ln -s /dev/pps0 /dev/gpspps0
-
-# mount the config file system
-mkdir /fs > /dev/null 2>&1
-mount /dev/sda1 /fs > /dev/null 2>&1
-
-ln -s /fs/config /config
diff --git a/src/buildroot-2013.05/custom/filesystem/pjr_custom_stuff b/src/buildroot-2013.05/custom/filesystem/pjr_custom_stuff
deleted file mode 100644 (file)
index e69de29..0000000