diff options
Diffstat (limited to 'initscripts')
39 files changed, 0 insertions, 1739 deletions
diff --git a/initscripts/initscripts-1.0/arm/alignment.sh b/initscripts/initscripts-1.0/arm/alignment.sh deleted file mode 100644 index e69de29bb2..0000000000 --- a/initscripts/initscripts-1.0/arm/alignment.sh +++ /dev/null diff --git a/initscripts/initscripts-1.0/banner b/initscripts/initscripts-1.0/banner deleted file mode 100644 index 21a01d2846..0000000000 --- a/initscripts/initscripts-1.0/banner +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh - -if [ ! -e /dev/tty ]; then - /bin/mknod -m 0666 /dev/tty c 5 0 -fi - -if ( > /dev/tty0 ) 2>/dev/null; then - vtmaster=/dev/tty0 -elif ( > /dev/vc/0 ) 2>/dev/null; then - vtmaster=/dev/vc/0 -else - vtmaster=/dev/null -fi -echo > $vtmaster -echo "Please wait: booting..." > $vtmaster diff --git a/initscripts/initscripts-1.0/beagle/devices b/initscripts/initscripts-1.0/beagle/devices deleted file mode 100644 index f80b7f9edb..0000000000 --- a/initscripts/initscripts-1.0/beagle/devices +++ /dev/null @@ -1,60 +0,0 @@ -#!/bin/sh -# -# Devfs handling script. Since we arent running devfsd due to various reasons -# which I will not lay out here, we need to create some links for compatibility. - -. /etc/default/rcS - -if test -e /dev/.devfsd -then - if test "$VERBOSE" != "no"; then echo -n "Setting up device links for devfs: "; fi - ln -s /dev/vc/0 /dev/tty0 - ln -s /dev/vc/1 /dev/tty1 - ln -s /dev/vc/2 /dev/tty2 - ln -s /dev/vc/3 /dev/tty3 - ln -s /dev/vc/4 /dev/tty4 - ln -s /dev/vc/5 /dev/tty5 - ln -s /dev/fb/0 /dev/fb0 - ln -s /dev/tts/0 /dev/ttyS0 -# ln -s /dev/tts/1 /dev/ttySA1 -# ln -s /dev/tts/2 /dev/ttySA2 - - ln -s /dev/sound/dsp /dev/dsp - ln -s /dev/sound/mixer /dev/mixer - - ln -s /dev/v4l/video0 /dev/video0 - ln -s /dev/v4l/video0 /dev/video - ln -s /dev/misc/rtc /dev/rtc - - ## need this so that ppp will autoload the ppp modules - mknod /dev/ppp c 108 0 - if test "$VERBOSE" != "no"; then echo "done"; fi -else - if test "$VERBOSE" != "no"; then echo -n "Mounting /dev ramdisk: "; fi - mount -t ramfs ramfs /dev || mount -t tmpfs ramfs /dev - if test $? -ne 0; then - if test "$VERBOSE" != "no"; then echo "failed"; fi - else - if test "$VERBOSE" != "no"; then echo "done"; fi - fi - if test "$VERBOSE" != "no"; then echo -n "Populating /dev: "; fi - cd / - mkdir -p dev/msys - mkdir -p dev/pts - mkdir -p dev/vc - for i in 0 1 2 3 4 5 6 7 8 9; do - ln -s /dev/tty$i /dev/vc/$i - done - ln -sf /dev/misc/touchscreen/ucb1x00 /dev/ts - ln -sf /dev/misc/sa1100-sc /dev/sa1100-sc - ln -sf /proc/self/fd /dev/fd - ln -sf /proc/kcore /dev/core - /sbin/makedevs -r / -D /etc/device_table - if test $? -ne 0; then - if test "$VERBOSE" != "no"; then echo "failed"; fi - else - if test "$VERBOSE" != "no"; then echo "done"; fi - fi -fi - -exit 0 diff --git a/initscripts/initscripts-1.0/bootmisc.sh b/initscripts/initscripts-1.0/bootmisc.sh deleted file mode 100644 index 74d27f513f..0000000000 --- a/initscripts/initscripts-1.0/bootmisc.sh +++ /dev/null @@ -1,50 +0,0 @@ -# -# bootmisc.sh Miscellaneous things to be done during bootup. -# - -. /etc/default/rcS -# -# Put a nologin file in /etc to prevent people from logging in before -# system startup is complete. -# -if test "$DELAYLOGIN" = yes -then - echo "System bootup in progress - please wait" > /etc/nologin - cp /etc/nologin /etc/nologin.boot -fi - -# -# Set pseudo-terminal access permissions. -# -if ( ! grep -q devfs /proc/mounts ) && test -c /dev/ttyp0 -then - chmod 666 /dev/tty[p-za-e][0-9a-f] - chown root:tty /dev/tty[p-za-e][0-9a-f] -fi - -# -# Update /etc/motd. -# -if test "$EDITMOTD" != no -then - uname -a > /etc/motd.tmp - sed 1d /etc/motd >> /etc/motd.tmp - mv /etc/motd.tmp /etc/motd -fi - -# -# This is as good a place as any for a sanity check -# /tmp should be a symlink to /var/tmp to cut down on the number -# of mounted ramdisks. -if test ! -L /tmp && test -d /var/tmp -then - rm -rf /tmp - ln -sf /var/tmp tmp -fi - -# -# Update dynamic library cache -# -/sbin/ldconfig - -: exit 0 diff --git a/initscripts/initscripts-1.0/checkfs.sh b/initscripts/initscripts-1.0/checkfs.sh deleted file mode 100644 index 7d2d75ef57..0000000000 --- a/initscripts/initscripts-1.0/checkfs.sh +++ /dev/null @@ -1,46 +0,0 @@ -# -# checkfs.sh Check all filesystems. -# -# Version: @(#)checkfs 2.83 05-Oct-2001 miquels@cistron.nl -# - -. /etc/default/rcS - -# -# Check the rest of the filesystems. -# -if test ! -f /fastboot -then - if test -f /forcefsck - then - force="-f" - else - force="" - fi - if test "$FSCKFIX" = yes - then - fix="-y" - else - fix="-a" - fi - spinner="-C" - case "$TERM" in - dumb|network|unknown|"") spinner="" ;; - esac - test "`uname -m`" = "s390" && spinner="" # This should go away - test "$VERBOSE" != no && echo "Checking all filesystems..." - fsck $spinner -R -A $fix $force - if test "$?" -gt 1 - then - echo - echo "fsck failed. Please repair manually." - echo - echo "CONTROL-D will exit from this shell and continue system startup." - echo - # Start a single user shell on the console - /sbin/sulogin $CONSOLE - fi -fi -rm -f /fastboot /forcefsck - -: exit 0 diff --git a/initscripts/initscripts-1.0/checkroot.sh b/initscripts/initscripts-1.0/checkroot.sh deleted file mode 100644 index 8255038c32..0000000000 --- a/initscripts/initscripts-1.0/checkroot.sh +++ /dev/null @@ -1,165 +0,0 @@ -# -# checkroot.sh Check to root filesystem. -# -# Version: @(#)checkroot.sh 2.84 25-Jan-2002 miquels@cistron.nl -# - -. /etc/default/rcS - -# -# Set SULOGIN in /etc/default/rcS to yes if you want a sulogin to be spawned -# from this script *before anything else* with a timeout, like SCO does. -# -test "$SULOGIN" = yes && sulogin -t 30 $CONSOLE - -# -# Ensure that bdflush (update) is running before any major I/O is -# performed (the following fsck is a good example of such activity :). -# -test -x /sbin/update && update - -# -# Read /etc/fstab. -# -exec 9>&0 </etc/fstab -rootmode=rw -rootopts=rw -rootcheck=no -swap_on_md=no -devfs= -while read fs mnt type opts dump pass junk -do - case "$fs" in - ""|\#*) - continue; - ;; - /dev/md*) - # Swap on md device. - test "$type" = swap && swap_on_md=yes - ;; - /dev/*) - ;; - *) - # Might be a swapfile. - test "$type" = swap && swap_on_md=yes - ;; - esac - test "$type" = devfs && devfs="$fs" - test "$mnt" != / && continue - rootopts="$opts" - test "$pass" = 0 -o "$pass" = "" && rootcheck=no - case "$opts" in - ro|ro,*|*,ro|*,ro,*) - rootmode=ro - ;; - esac -done -exec 0>&9 9>&- - -# -# Activate the swap device(s) in /etc/fstab. This needs to be done -# before fsck, since fsck can be quite memory-hungry. -# -doswap=no -test -d /proc/1 || mount -n /proc -case "`uname -r`" in - 2.[0123].*) - if test $swap_on_md = yes && grep -qs resync /proc/mdstat - then - test "$VERBOSE" != no && echo "Not activating swap - RAID array resyncing" - else - doswap=yes - fi - ;; - *) - doswap=yes - ;; -esac -if test $doswap = yes -then - test "$VERBOSE" != no && echo "Activating swap" - swapon -a 2> /dev/null -fi - -# -# Check the root filesystem. -# -if test -f /fastboot || test $rootcheck = no -then - test $rootcheck = yes && echo "Fast boot, no filesystem check" -else - # - # Ensure that root is quiescent and read-only before fsck'ing. - # - mount -n -o remount,ro / - if test $? = 0 - then - if test -f /forcefsck - then - force="-f" - else - force="" - fi - if test "$FSCKFIX" = yes - then - fix="-y" - else - fix="-a" - fi - spinner="-C" - case "$TERM" in - dumb|network|unknown|"") spinner="" ;; - esac - test `uname -m` = s390 && spinner="" # This should go away - test "$VERBOSE" != no && echo "Checking root filesystem..." - fsck $spinner $force $fix / - # - # If there was a failure, drop into single-user mode. - # - # NOTE: "failure" is defined as exiting with a return code of - # 2 or larger. A return code of 1 indicates that filesystem - # errors were corrected but that the boot may proceed. - # - if test "$?" -gt 1 - then - # Surprise! Re-directing from a HERE document (as in - # "cat << EOF") won't work, because the root is read-only. - echo - echo "fsck failed. Please repair manually and reboot. Please note" - echo "that the root filesystem is currently mounted read-only. To" - echo "remount it read-write:" - echo - echo " # mount -n -o remount,rw /" - echo - echo "CONTROL-D will exit from this shell and REBOOT the system." - echo - # Start a single user shell on the console - /sbin/sulogin $CONSOLE - reboot -f - fi - else - echo "*** ERROR! Cannot fsck root fs because it is not mounted read-only!" - echo - fi -fi - -# -# If the root filesystem was not marked as read-only in /etc/fstab, -# remount the rootfs rw but do not try to change mtab because it -# is on a ro fs until the remount succeeded. Then clean up old mtabs -# and finally write the new mtab. -# -mount -n -o remount,$rootmode / -if test "$rootmode" = rw -then - if test ! -L /etc/mtab - then - rm -f /etc/mtab~ /etc/nologin - : > /etc/mtab - fi - mount -f -o remount / - mount -f /proc - test "$devfs" && grep -q '^devfs /dev' /proc/mounts && mount -f "$devfs" -fi - -: exit 0 diff --git a/initscripts/initscripts-1.0/collie/devices b/initscripts/initscripts-1.0/collie/devices deleted file mode 100644 index 68570e4fef..0000000000 --- a/initscripts/initscripts-1.0/collie/devices +++ /dev/null @@ -1,62 +0,0 @@ -#!/bin/sh -# -# Devfs handling script. Since we arent running devfsd due to various reasons -# which I will not lay out here, we need to create some links for compatibility. - -. /etc/default/rcS - -if test -e /dev/.devfsd -then - if test "$VERBOSE" != "no"; then echo -n "Setting up device links for devfs: "; fi - ln -s /dev/touchscreen/0 /dev/ts - ln -s /dev/touchscreen/0raw /dev/tsraw - ln -s /dev/vc/0 /dev/tty0 - ln -s /dev/vc/1 /dev/tty1 - ln -s /dev/vc/2 /dev/tty2 - ln -s /dev/vc/3 /dev/tty3 - ln -s /dev/vc/4 /dev/tty4 - ln -s /dev/vc/5 /dev/tty5 - ln -s /dev/fb/0 /dev/fb0 -# ln -s /dev/tts/0 /dev/ttySA0 -# ln -s /dev/tts/1 /dev/ttySA1 -# ln -s /dev/tts/2 /dev/ttySA2 - - ln -s /dev/sound/dsp /dev/dsp - ln -s /dev/sound/mixer /dev/mixer - - ln -s /dev/v4l/video0 /dev/video0 - ln -s /dev/v4l/video0 /dev/video - ln -s /dev/misc/rtc /dev/rtc - - ## need this so that ppp will autoload the ppp modules - mknod /dev/ppp c 108 0 - if test "$VERBOSE" != "no"; then echo "done"; fi -else - if test "$VERBOSE" != "no"; then echo -n "Mounting /dev ramdisk: "; fi - mount -t ramfs ramfs /dev || mount -t tmpfs ramfs /dev - if test $? -ne 0; then - if test "$VERBOSE" != "no"; then echo "failed"; fi - else - if test "$VERBOSE" != "no"; then echo "done"; fi - fi - if test "$VERBOSE" != "no"; then echo -n "Populating /dev: "; fi - cd / - mkdir -p dev/msys - mkdir -p dev/pts - mkdir -p dev/vc - for i in 0 1 2 3 4 5 6 7 8 9; do - ln -s /dev/tty$i /dev/vc/$i - done - ln -sf /dev/sharp_ts /dev/ts - ln -sf /dev/collie-fl /dev/fl - ln -sf /proc/self/fd /dev/fd - ln -sf /proc/kcore /dev/core - /sbin/makedevs -r / -D /etc/device_table - if test $? -ne 0; then - if test "$VERBOSE" != "no"; then echo "failed"; fi - else - if test "$VERBOSE" != "no"; then echo "done"; fi - fi -fi - -exit 0 diff --git a/initscripts/initscripts-1.0/corgi/devices b/initscripts/initscripts-1.0/corgi/devices deleted file mode 100644 index e072035954..0000000000 --- a/initscripts/initscripts-1.0/corgi/devices +++ /dev/null @@ -1,60 +0,0 @@ -#!/bin/sh -# -# Devfs handling script. Since we arent running devfsd due to various reasons -# which I will not lay out here, we need to create some links for compatibility. - -. /etc/default/rcS - -if test -e /dev/.devfsd -then - if test "$VERBOSE" != "no"; then echo -n "Setting up device links for devfs: "; fi - ln -s /dev/touchscreen/0 /dev/ts - ln -s /dev/touchscreen/0raw /dev/tsraw - ln -s /dev/vc/0 /dev/tty0 - ln -s /dev/vc/1 /dev/tty1 - ln -s /dev/vc/2 /dev/tty2 - ln -s /dev/vc/3 /dev/tty3 - ln -s /dev/vc/4 /dev/tty4 - ln -s /dev/vc/5 /dev/tty5 - ln -s /dev/fb/0 /dev/fb0 -# ln -s /dev/tts/0 /dev/ttySA0 -# ln -s /dev/tts/1 /dev/ttySA1 -# ln -s /dev/tts/2 /dev/ttySA2 - - ln -s /dev/sound/dsp /dev/dsp - ln -s /dev/sound/mixer /dev/mixer - - ln -s /dev/v4l/video0 /dev/video0 - ln -s /dev/v4l/video0 /dev/video - ln -s /dev/misc/rtc /dev/rtc - - ## need this so that ppp will autoload the ppp modules - mknod /dev/ppp c 108 0 - if test "$VERBOSE" != "no"; then echo "done"; fi -else - if test "$VERBOSE" != "no"; then echo -n "Mounting /dev ramdisk: "; fi - mount -t ramfs ramfs /dev || mount -t tmpfs ramfs /dev - if test $? -ne 0; then - if test "$VERBOSE" != "no"; then echo "failed"; fi - else - if test "$VERBOSE" != "no"; then echo "done"; fi - fi - if test "$VERBOSE" != "no"; then echo -n "Populating /dev: "; fi - cd / - mkdir -p dev/msys - mkdir -p dev/pts - ln -sf /dev/sharp_ts /dev/ts - ln -sf /proc/self/fd /dev/fd - ln -sf /proc/kcore /dev/core - /sbin/makedevs -r / -D /etc/device_table - if test $? -ne 0; then - if test "$VERBOSE" != "no"; then echo "failed"; fi - else - if test "$VERBOSE" != "no"; then echo "done"; fi - fi -fi - -## enable (working) suspend/resume via power button on c7x0 -echo 1 >/proc/power_key_off - -exit 0 diff --git a/initscripts/initscripts-1.0/device_table.txt b/initscripts/initscripts-1.0/device_table.txt deleted file mode 100644 index 35d8fe64e8..0000000000 --- a/initscripts/initscripts-1.0/device_table.txt +++ /dev/null @@ -1,162 +0,0 @@ -#/dev/ d 775 0 0 - - - - - -#/dev/msys d 775 0 0 - - - - - -#/dev/pts d 775 0 0 - - - - - -#/var d 775 0 0 - - - - - -/boot/var/empty d 755 0 3 - - - - -/dev/apm_bios c 660 0 46 10 134 - - - -/dev/audio c 660 0 29 14 4 - - - -/dev/audio1 c 660 0 29 14 20 - - - -/dev/audio2 c 660 0 29 14 36 - - - -/dev/audio3 c 660 0 29 14 52 - - - -/dev/bty c 644 0 0 60 0 0 1 5 -/dev/collie-fl c 640 0 44 254 0 - - - -/dev/console c 662 0 5 5 1 - - -/dev/cusa0 c 640 0 0 205 5 - - - -/dev/cusa1 c 640 0 0 205 6 - - - -/dev/cusa2 c 640 0 0 205 7 - - - -/dev/dsp c 660 0 29 14 3 - - - -/dev/dsp1 c 660 0 29 14 19 - - - -/dev/dsp2 c 660 0 29 14 35 - - - -/dev/dsp3 c 660 0 29 14 51 - - - -/dev/fb c 660 0 44 29 0 0 32 2 -/dev/fb0autodetect c 660 0 44 29 1 - - - -/dev/fb0current c 660 0 44 29 0 - - - -#/dev/fb1 c 660 0 44 29 32 - - - -/dev/fb1autodetect c 660 0 44 29 33 - - - -/dev/fb1current c 660 0 44 29 32 - - - -/dev/full c 666 0 7 - - - -/dev/hda b 660 0 6 3 0 - - - -/dev/hda b 660 0 6 3 1 1 1 20 -/dev/hdb b 660 0 6 3 64 - - - -/dev/hdb b 660 0 6 3 65 1 1 20 -/dev/hdc b 660 0 6 22 0 - - - -/dev/hdc b 660 0 6 22 1 1 1 20 -/dev/initctl p 600 0 0 - - - - -/dev/i2c0 c 660 0 0 89 0 - - - -/dev/inportbm c 660 0 0 10 2 - - - -/dev/input/event c 660 0 0 13 64 0 1 20 -/dev/ircomm0 c 640 0 0 161 0 - - - -/dev/jbm c 660 0 0 10 4 - - - -/dev/kmem c 640 0 15 1 2 - - - -/dev/lirc c 660 0 5 61 0 - - - -/dev/logibm c 660 0 0 10 0 - - - -/dev/loop0 b 660 0 11 7 0 - - - -/dev/loop1 b 660 0 11 7 1 - - - -/dev/mem c 640 0 15 1 1 - - - -/dev/mixer c 666 0 0 14 0 - - - -/dev/mixer1 c 666 0 0 14 16 - - - -/dev/mixer2 c 666 0 0 14 32 - - - -/dev/mixer3 c 666 0 0 14 48 - - - -/dev/mmcda b 640 0 0 60 0 - - - -/dev/mmcda1 b 640 0 0 60 1 - - - -/dev/mmcda2 b 640 0 0 60 2 - - - -/dev/msys/fla b 660 0 11 100 0 - - - -/dev/msys/fla1 b 660 0 11 100 1 - - - -/dev/msys/fla2 b 660 0 11 100 2 - - - -/dev/msys/fla3 b 660 0 11 100 3 - - - -/dev/msys/fla4 b 660 0 11 100 4 - - - -/dev/msys/flb b 660 0 11 100 64 - - - -/dev/msys/flb1 b 660 0 11 100 65 - - - -/dev/msys/flb2 b 660 0 11 100 66 - - - -/dev/msys/flb3 b 660 0 11 100 67 - - - -/dev/msys/flb4 b 660 0 11 100 68 - - - -/dev/mtd c 660 0 6 90 0 0 2 8 -/dev/mtdblock b 640 0 0 31 0 0 1 8 -/dev/nst0 c 664 0 11 9 128 - - - -/dev/nst0a c 664 0 11 9 224 - - - -/dev/nst0l c 664 0 11 9 160 - - - -/dev/nst0m c 664 0 11 9 192 - - - -/dev/nst1 c 664 0 11 9 129 - - - -/dev/nst1a c 664 0 11 9 225 - - - -/dev/nst1l c 664 0 11 9 161 - - - -/dev/nst1m c 664 0 11 9 193 - - - -/dev/null c 666 0 0 1 3 - - - -/dev/par0 c 660 0 7 6 0 - - - -/dev/par1 c 660 0 7 6 1 - - - -/dev/par2 c 660 0 7 6 2 - - - -/dev/port c 640 0 15 1 4 - - - -/dev/ppp c 640 0 0 108 0 - - - -/dev/psaux c 660 0 0 10 1 - - - -/dev/ptmx c 666 0 5 5 2 - - - -/dev/ptya0 c 660 0 5 2 176 - - - -/dev/ptya1 c 660 0 5 2 177 - - - -/dev/ptya2 c 660 0 5 2 178 - - - -/dev/ptya3 c 660 0 5 2 179 - - - -/dev/ptya4 c 660 0 5 2 180 - - - -/dev/ptya5 c 660 0 5 2 181 - - - -/dev/ptya6 c 660 0 5 2 182 - - - -/dev/ptya7 c 660 0 5 2 183 - - - -/dev/ptya8 c 660 0 5 2 184 - - - -/dev/ptya9 c 660 0 5 2 185 - - - -/dev/ptyaa c 660 0 5 2 186 - - - -/dev/ptyab c 660 0 5 2 187 - - - -/dev/ptyac c 660 0 5 2 188 - - - -/dev/ptyad c 660 0 5 2 189 - - - -/dev/ptyae c 660 0 5 2 190 - - - -/dev/ptyaf c 660 0 5 2 191 - - - -/dev/ram b 640 0 0 1 0 0 1 4 -/dev/random c 444 0 0 1 8 - - - -/dev/rmidi0 c 660 0 0 35 64 - - - -/dev/rmidi1 c 660 0 0 35 65 - - - -/dev/rmidi2 c 660 0 0 35 66 - - - -/dev/rmidi3 c 660 0 0 35 67 - - - -/dev/rtc c 660 0 47 10 135 - - - -/dev/scd0 b 660 0 6 11 0 - - - -/dev/scd1 b 660 0 6 11 1 - - - -/dev/sda b 660 0 6 8 0 - - - -/dev/sda1 b 660 0 6 8 1 - - - -/dev/sda2 b 660 0 6 8 2 - - - -/dev/sda3 b 660 0 6 8 3 - - - -/dev/sda4 b 660 0 6 8 4 - - - -/dev/sda5 b 660 0 6 8 5 - - - -/dev/sda6 b 660 0 6 8 6 - - - -/dev/sda7 b 660 0 6 8 7 - - - -/dev/sda8 b 660 0 6 8 8 - - - -/dev/sda9 b 660 0 6 8 9 - - - -/dev/sdb b 660 0 6 8 16 - - - -/dev/sdb1 b 660 0 6 8 17 - - - -/dev/sdb2 b 660 0 6 8 18 - - - -/dev/sdb3 b 660 0 6 8 19 - - - -/dev/sdb4 b 660 0 6 8 20 - - - -/dev/sdb5 b 660 0 6 8 21 - - - -/dev/sdb6 b 660 0 6 8 22 - - - -/dev/sdb7 b 660 0 6 8 23 - - - -/dev/sdb8 b 660 0 6 8 24 - - - -/dev/sdb9 b 660 0 6 8 25 - - - -/dev/sdc b 660 0 6 8 32 - - - -/dev/sdc1 b 660 0 6 8 33 - - - -/dev/sdc2 b 660 0 6 8 34 - - - -/dev/sdc3 b 660 0 6 8 35 - - - -/dev/sdc4 b 660 0 6 8 36 - - - -/dev/sdc5 b 660 0 6 8 37 - - - -/dev/sdc6 b 660 0 6 8 38 - - - -/dev/sdc7 b 660 0 6 8 39 - - - -/dev/sdc8 b 660 0 6 8 40 - - - -/dev/sdc9 b 660 0 6 8 41 - - - -/dev/sd_slotstat c 660 0 6 10 240 - - - -/dev/sharp_audioctl c 660 0 29 10 213 - - - -/dev/sharp_buz c 660 0 29 10 211 - - - -/dev/sharp_kbdctl c 660 0 45 10 214 - - - -/dev/sharp_led c 660 0 48 10 210 - - - -/dev/sharp_ts c 640 0 45 11 0 - - - -/dev/smtpe0 c 640 0 0 35 128 - - - -/dev/smtpe1 c 640 0 0 35 129 - - - -/dev/smtpe2 c 640 0 0 35 130 - - - -/dev/smtpe3 c 640 0 0 35 131 - - - -/dev/sndstat c 660 0 29 14 6 - - - -/dev/st0 c 660 0 11 9 0 - - - -/dev/st0a c 660 0 11 9 96 - - - -/dev/st0l c 660 0 11 9 32 - - - -/dev/st0m c 660 0 11 9 64 - - - -/dev/st1 c 660 0 11 9 1 - - - -/dev/st1a c 660 0 11 9 97 - - - -/dev/st1l c 660 0 11 9 33 - - - -/dev/st1m c 660 0 11 9 65 - - - -/dev/tty c 662 0 5 5 0 - - - -/dev/tty c 666 0 5 4 0 0 1 9 -/dev/ttyS c 640 0 5 4 64 0 1 4 -/dev/ttySA c 640 0 5 204 5 0 1 4 -/dev/ttyUSB c 660 0 5 188 0 0 1 2 -/dev/urandom c 644 0 0 1 9 - - - -/dev/usbmouse c 640 0 45 10 32 - - - -/dev/zero c 644 0 0 1 5 - - diff --git a/initscripts/initscripts-1.0/devices b/initscripts/initscripts-1.0/devices deleted file mode 100644 index 59ce1f675b..0000000000 --- a/initscripts/initscripts-1.0/devices +++ /dev/null @@ -1,66 +0,0 @@ -#!/bin/sh -# -# Devfs handling script. Since we arent running devfsd due to various reasons -# which I will not lay out here, we need to create some links for compatibility. - -. /etc/default/rcS - -# exit without doing anything if udev is active -if test -e /dev/.udev.tdb; then - exit 0 -fi - -if test -e /dev/.devfsd -then - if test "$VERBOSE" != "no"; then echo -n "Setting up device links for devfs: "; fi - ln -s /dev/touchscreen/0 /dev/ts - ln -s /dev/touchscreen/0raw /dev/tsraw - ln -s /dev/vc/0 /dev/tty0 - ln -s /dev/vc/1 /dev/tty1 - ln -s /dev/vc/2 /dev/tty2 - ln -s /dev/vc/3 /dev/tty3 - ln -s /dev/vc/4 /dev/tty4 - ln -s /dev/vc/5 /dev/tty5 - ln -s /dev/fb/0 /dev/fb0 -# ln -s /dev/tts/0 /dev/ttySA0 -# ln -s /dev/tts/1 /dev/ttySA1 -# ln -s /dev/tts/2 /dev/ttySA2 - - ln -s /dev/sound/dsp /dev/dsp - ln -s /dev/sound/mixer /dev/mixer - - ln -s /dev/v4l/video0 /dev/video0 - ln -s /dev/v4l/video0 /dev/video - ln -s /dev/misc/rtc /dev/rtc - - ## need this so that ppp will autoload the ppp modules - mknod /dev/ppp c 108 0 - if test "$VERBOSE" != "no"; then echo "done"; fi -else - if test "$VERBOSE" != "no"; then echo -n "Mounting /dev ramdisk: "; fi - mount -t ramfs ramfs /dev || mount -t tmpfs ramfs /dev - if test $? -ne 0; then - if test "$VERBOSE" != "no"; then echo "failed"; fi - else - if test "$VERBOSE" != "no"; then echo "done"; fi - fi - if test "$VERBOSE" != "no"; then echo -n "Populating /dev: "; fi - cd / - mkdir -p dev/input - mkdir -p dev/msys - mkdir -p dev/pts - mkdir -p dev/vc - for i in 0 1 2 3 4 5 6 7 8 9; do - ln -s /dev/tty$i /dev/vc/$i - done - ln -sf /proc/self/fd /dev/fd - ln -sf /proc/kcore /dev/core - /sbin/makedevs -r / -D /etc/device_table - if test $? -ne 0; then - if test "$VERBOSE" != "no"; then echo "failed"; fi - else - if test "$VERBOSE" != "no"; then echo "done"; fi - fi -fi - -exit 0 diff --git a/initscripts/initscripts-1.0/devpts b/initscripts/initscripts-1.0/devpts deleted file mode 100644 index 4a0978b404..0000000000 --- a/initscripts/initscripts-1.0/devpts +++ /dev/null @@ -1,5 +0,0 @@ -# GID of the `tty' group -TTYGRP=5 - -# Set to 600 to have `mesg n' be the default -TTYMODE=620 diff --git a/initscripts/initscripts-1.0/devpts.sh b/initscripts/initscripts-1.0/devpts.sh deleted file mode 100644 index 334cf63801..0000000000 --- a/initscripts/initscripts-1.0/devpts.sh +++ /dev/null @@ -1,28 +0,0 @@ -#! /bin/sh - -. /etc/default/devpts - -test "`uname -s`" = "Linux" || exit 0 - -# -# First find out if devpts is available. Also check if devfs -# is already mounted - in that case we don't want to use devpts. -# -if test ! -e /dev/.devfsd && ( grep -q devpts /proc/filesystems ) -then - # - # Create multiplexor device. - # - test -c /dev/ptmx || mknod -m 666 /dev/ptmx c 5 2 - - # - # Mount /dev/pts if needed. - # - if ( ! grep -q devpts /proc/mounts ) - then - mkdir -p /dev/pts - mount -t devpts devpts /dev/pts -ogid=${TTYGRP},mode=${TTYMODE} - fi -fi - -exit 0 diff --git a/initscripts/initscripts-1.0/finish b/initscripts/initscripts-1.0/finish deleted file mode 100644 index 4f9f75f47c..0000000000 --- a/initscripts/initscripts-1.0/finish +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -if ! test -e /etc/.configured; then - > /etc/.configured -fi - diff --git a/initscripts/initscripts-1.0/h3600/devices b/initscripts/initscripts-1.0/h3600/devices deleted file mode 100644 index d7b346a655..0000000000 --- a/initscripts/initscripts-1.0/h3600/devices +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/sh -# -# Devfs handling script. Since we arent running devfsd due to various reasons -# which I will not lay out here, we need to create some links for compatibility. - - test -n "$VERBOSE" && echo -n "Setting up device links for devfs: " - ( - ln -s /dev/vc/0 /dev/tty0 - ln -s /dev/vc/1 /dev/tty1 - ln -s /dev/vc/2 /dev/tty2 - ln -s /dev/vc/3 /dev/tty3 - ln -s /dev/vc/4 /dev/tty4 - ln -s /dev/vc/5 /dev/tty5 - ln -s /dev/fb/0 /dev/fb0 - # ln -s /dev/tts/0 /dev/ttySA0 - # ln -s /dev/tts/1 /dev/ttySA1 - # ln -s /dev/tts/2 /dev/ttySA2 - - ln -s /dev/sound/dsp /dev/dsp - ln -s /dev/sound/mixer /dev/mixer - - ln -s /dev/v4l/video0 /dev/video0 - ln -s /dev/v4l/video0 /dev/video - ln -s /dev/misc/rtc /dev/rtc - ln -s /dev/misc/apm_bios /dev/apm_bios - - ## need this so that ppp will autoload the ppp modules - mknod /dev/ppp c 108 0 - ) > /dev/null 2>&1 - - - test -n "$VERBOSE" && echo "done" diff --git a/initscripts/initscripts-1.0/h3900/devices b/initscripts/initscripts-1.0/h3900/devices deleted file mode 100644 index d7b346a655..0000000000 --- a/initscripts/initscripts-1.0/h3900/devices +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/sh -# -# Devfs handling script. Since we arent running devfsd due to various reasons -# which I will not lay out here, we need to create some links for compatibility. - - test -n "$VERBOSE" && echo -n "Setting up device links for devfs: " - ( - ln -s /dev/vc/0 /dev/tty0 - ln -s /dev/vc/1 /dev/tty1 - ln -s /dev/vc/2 /dev/tty2 - ln -s /dev/vc/3 /dev/tty3 - ln -s /dev/vc/4 /dev/tty4 - ln -s /dev/vc/5 /dev/tty5 - ln -s /dev/fb/0 /dev/fb0 - # ln -s /dev/tts/0 /dev/ttySA0 - # ln -s /dev/tts/1 /dev/ttySA1 - # ln -s /dev/tts/2 /dev/ttySA2 - - ln -s /dev/sound/dsp /dev/dsp - ln -s /dev/sound/mixer /dev/mixer - - ln -s /dev/v4l/video0 /dev/video0 - ln -s /dev/v4l/video0 /dev/video - ln -s /dev/misc/rtc /dev/rtc - ln -s /dev/misc/apm_bios /dev/apm_bios - - ## need this so that ppp will autoload the ppp modules - mknod /dev/ppp c 108 0 - ) > /dev/null 2>&1 - - - test -n "$VERBOSE" && echo "done" diff --git a/initscripts/initscripts-1.0/halt b/initscripts/initscripts-1.0/halt deleted file mode 100644 index d8cab222ca..0000000000 --- a/initscripts/initscripts-1.0/halt +++ /dev/null @@ -1,25 +0,0 @@ -#! /bin/sh -# -# halt Execute the halt command. -# -# Version: @(#)halt 2.84-2 07-Jan-2002 miquels@cistron.nl -# - -PATH=/sbin:/bin:/usr/sbin:/usr/bin - -# See if we need to cut the power. -if test -x /etc/init.d/ups-monitor -then - /etc/init.d/ups-monitor poweroff -fi - -# Don't shut down drives if we're using RAID. -hddown="-h" -if grep -qs '^md.*active' /proc/mdstat -then - hddown="" -fi - -halt -d -f -i -p $hddown - -: exit 0 diff --git a/initscripts/initscripts-1.0/hostname.sh b/initscripts/initscripts-1.0/hostname.sh deleted file mode 100644 index 0f3d374286..0000000000 --- a/initscripts/initscripts-1.0/hostname.sh +++ /dev/null @@ -1,11 +0,0 @@ -# -# hostname.sh Set hostname. -# -# Version: @(#)hostname.sh 1.10 26-Feb-2001 miquels@cistron.nl -# - -if test -f /etc/hostname -then - hostname -F /etc/hostname -fi - diff --git a/initscripts/initscripts-1.0/husky/devices b/initscripts/initscripts-1.0/husky/devices deleted file mode 100644 index e072035954..0000000000 --- a/initscripts/initscripts-1.0/husky/devices +++ /dev/null @@ -1,60 +0,0 @@ -#!/bin/sh -# -# Devfs handling script. Since we arent running devfsd due to various reasons -# which I will not lay out here, we need to create some links for compatibility. - -. /etc/default/rcS - -if test -e /dev/.devfsd -then - if test "$VERBOSE" != "no"; then echo -n "Setting up device links for devfs: "; fi - ln -s /dev/touchscreen/0 /dev/ts - ln -s /dev/touchscreen/0raw /dev/tsraw - ln -s /dev/vc/0 /dev/tty0 - ln -s /dev/vc/1 /dev/tty1 - ln -s /dev/vc/2 /dev/tty2 - ln -s /dev/vc/3 /dev/tty3 - ln -s /dev/vc/4 /dev/tty4 - ln -s /dev/vc/5 /dev/tty5 - ln -s /dev/fb/0 /dev/fb0 -# ln -s /dev/tts/0 /dev/ttySA0 -# ln -s /dev/tts/1 /dev/ttySA1 -# ln -s /dev/tts/2 /dev/ttySA2 - - ln -s /dev/sound/dsp /dev/dsp - ln -s /dev/sound/mixer /dev/mixer - - ln -s /dev/v4l/video0 /dev/video0 - ln -s /dev/v4l/video0 /dev/video - ln -s /dev/misc/rtc /dev/rtc - - ## need this so that ppp will autoload the ppp modules - mknod /dev/ppp c 108 0 - if test "$VERBOSE" != "no"; then echo "done"; fi -else - if test "$VERBOSE" != "no"; then echo -n "Mounting /dev ramdisk: "; fi - mount -t ramfs ramfs /dev || mount -t tmpfs ramfs /dev - if test $? -ne 0; then - if test "$VERBOSE" != "no"; then echo "failed"; fi - else - if test "$VERBOSE" != "no"; then echo "done"; fi - fi - if test "$VERBOSE" != "no"; then echo -n "Populating /dev: "; fi - cd / - mkdir -p dev/msys - mkdir -p dev/pts - ln -sf /dev/sharp_ts /dev/ts - ln -sf /proc/self/fd /dev/fd - ln -sf /proc/kcore /dev/core - /sbin/makedevs -r / -D /etc/device_table - if test $? -ne 0; then - if test "$VERBOSE" != "no"; then echo "failed"; fi - else - if test "$VERBOSE" != "no"; then echo "done"; fi - fi -fi - -## enable (working) suspend/resume via power button on c7x0 -echo 1 >/proc/power_key_off - -exit 0 diff --git a/initscripts/initscripts-1.0/mountall.sh b/initscripts/initscripts-1.0/mountall.sh deleted file mode 100644 index b5cb85a1e9..0000000000 --- a/initscripts/initscripts-1.0/mountall.sh +++ /dev/null @@ -1,45 +0,0 @@ -# -# mountall.sh Mount all filesystems. -# -# Version: @(#)mountall.sh 2.83-2 01-Nov-2001 miquels@cistron.nl -# -. /etc/default/rcS - -# -# Mount local filesystems in /etc/fstab. For some reason, people -# might want to mount "proc" several times, and mount -v complains -# about this. So we mount "proc" filesystems without -v. -# -test "$VERBOSE" != no && echo "Mounting local filesystems..." -mount -at nonfs,nosmbfs,noncpfs 2>/dev/null - -# -# We might have mounted something over /dev, see if /dev/initctl is there. -# -if test ! -p /dev/initctl -then - rm -f /dev/initctl - mknod -m 600 /dev/initctl p -fi -kill -USR1 1 - -# -# Execute swapon command again, in case we want to swap to -# a file on a now mounted filesystem. -# -doswap=yes -case "`uname -r`" in - 2.[0123].*) - if grep -qs resync /proc/mdstat - then - doswap=no - fi - ;; -esac -if test $doswap = yes -then - swapon -a 2> /dev/null -fi - -: exit 0 - diff --git a/initscripts/initscripts-1.0/mountnfs.sh b/initscripts/initscripts-1.0/mountnfs.sh deleted file mode 100644 index 84cb3651fc..0000000000 --- a/initscripts/initscripts-1.0/mountnfs.sh +++ /dev/null @@ -1,87 +0,0 @@ -# -# mountnfs.sh Now that TCP/IP is configured, mount the NFS file -# systems in /etc/fstab if needed. If possible, -# start the portmapper before mounting (this is needed for -# Linux 2.1.x and up). -# -# Also mounts SBM filesystems now, so the name of -# this script is getting increasingly inaccurate. -# -# Version: @(#)mountnfs.sh 2.83 05-Oct-2001 miquels@cistron.nl -# - -. /etc/default/rcS - -# -# Run in a subshell because of I/O redirection. -# -test -f /etc/fstab && ( - -# -# Read through fstab line by line. If it is NFS, set the flag -# for mounting NFS filesystems. If any NFS partition is found and it -# not mounted with the nolock option, we start the portmapper. -# -portmap=no -mount_nfs=no -mount_smb=no -mount_ncp=no -while read device mountpt fstype options -do - case "$device" in - ""|\#*) - continue - ;; - esac - - case "$options" in - *noauto*) - continue - ;; - esac - - if test "$fstype" = nfs - then - mount_nfs=yes - case "$options" in - *nolock*) - ;; - *) - portmap=yes - ;; - esac - fi - if test "$fstype" = smbfs - then - mount_smb=yes - fi - if test "$fstype" = ncpfs - then - mount_ncp=yes - fi -done - -exec 0>&1 - -if test "$portmap" = yes -then - if test -x /sbin/portmap - then - echo -n "Starting portmapper... " - start-stop-daemon --start --quiet --exec /sbin/portmap - sleep 2 - fi -fi - -if test "$mount_nfs" = yes || test "$mount_smb" = yes || test "$mount_ncp" = yes -then - echo "Mounting remote filesystems..." - test "$mount_nfs" = yes && mount -a -t nfs - test "$mount_smb" = yes && mount -a -t smbfs - test "$mount_ncp" = yes && mount -a -t ncpfs -fi - -) < /etc/fstab - -: exit 0 - diff --git a/initscripts/initscripts-1.0/openzaurus/checkversion b/initscripts/initscripts-1.0/openzaurus/checkversion deleted file mode 100644 index 6c52816ec8..0000000000 --- a/initscripts/initscripts-1.0/openzaurus/checkversion +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/sh -found=`cat /proc/version | cut -d ' ' -f3` - -if [ "VERSION" != "$found" ] ; then - echo -e >/dev/tty1 - echo -e "\033[31;1m ******************************************* \033[0m" >/dev/tty1 - echo -e "\033[31;1m * \033[0mW A R N I N G ! \033[31;1m* \033[0m" >/dev/tty1 - echo -e "\033[31;1m ******************************************* \033[0m" >/dev/tty1 - echo >/dev/tty1 - echo -e "\033[31;1m ******************************************* \033[0m" >/dev/tty1 - echo -e "\033[31;1m * \033[0mYou are running the wrong kernel! \033[31;1m* \033[0m" >/dev/tty1 - echo -e "\033[31;1m ******************************************* \033[0m" >/dev/tty1 - echo >/dev/tty1 - echo -e "You are running '" $found "'" >/dev/tty1 - echo -e "I expect kernel '" VERSION "'" >/dev/tty1 - echo >/dev/tty1 - echo -e "\033[31;1m ******************************************* \033[0m" >/dev/tty1 - echo -e "\033[31;1m * \033[0mRunning this combination is unsupported \033[31;1m* \033[0m" >/dev/tty1 - echo -e "\033[31;1m ******************************************* \033[0m" >/dev/tty1 - echo >/dev/tty1 - echo "I will sleep for 1 minute now. Use this chance to " >/dev/tty1 - echo "reboot the device and flash the proper kernel now! " >/dev/tty1 - echo -e >/dev/tty1 - echo -e "\033[31;1m ******************************************* \033[0m" >/dev/tty1 - echo -e "\033[31;1m * \033[0mW A R N I N G ! \033[31;1m* \033[0m" >/dev/tty1 - echo -e "\033[31;1m ******************************************* \033[0m" >/dev/tty1 - echo >/dev/tty1 - sleep 60 -fi diff --git a/initscripts/initscripts-1.0/poodle/devices b/initscripts/initscripts-1.0/poodle/devices deleted file mode 100644 index 68570e4fef..0000000000 --- a/initscripts/initscripts-1.0/poodle/devices +++ /dev/null @@ -1,62 +0,0 @@ -#!/bin/sh -# -# Devfs handling script. Since we arent running devfsd due to various reasons -# which I will not lay out here, we need to create some links for compatibility. - -. /etc/default/rcS - -if test -e /dev/.devfsd -then - if test "$VERBOSE" != "no"; then echo -n "Setting up device links for devfs: "; fi - ln -s /dev/touchscreen/0 /dev/ts - ln -s /dev/touchscreen/0raw /dev/tsraw - ln -s /dev/vc/0 /dev/tty0 - ln -s /dev/vc/1 /dev/tty1 - ln -s /dev/vc/2 /dev/tty2 - ln -s /dev/vc/3 /dev/tty3 - ln -s /dev/vc/4 /dev/tty4 - ln -s /dev/vc/5 /dev/tty5 - ln -s /dev/fb/0 /dev/fb0 -# ln -s /dev/tts/0 /dev/ttySA0 -# ln -s /dev/tts/1 /dev/ttySA1 -# ln -s /dev/tts/2 /dev/ttySA2 - - ln -s /dev/sound/dsp /dev/dsp - ln -s /dev/sound/mixer /dev/mixer - - ln -s /dev/v4l/video0 /dev/video0 - ln -s /dev/v4l/video0 /dev/video - ln -s /dev/misc/rtc /dev/rtc - - ## need this so that ppp will autoload the ppp modules - mknod /dev/ppp c 108 0 - if test "$VERBOSE" != "no"; then echo "done"; fi -else - if test "$VERBOSE" != "no"; then echo -n "Mounting /dev ramdisk: "; fi - mount -t ramfs ramfs /dev || mount -t tmpfs ramfs /dev - if test $? -ne 0; then - if test "$VERBOSE" != "no"; then echo "failed"; fi - else - if test "$VERBOSE" != "no"; then echo "done"; fi - fi - if test "$VERBOSE" != "no"; then echo -n "Populating /dev: "; fi - cd / - mkdir -p dev/msys - mkdir -p dev/pts - mkdir -p dev/vc - for i in 0 1 2 3 4 5 6 7 8 9; do - ln -s /dev/tty$i /dev/vc/$i - done - ln -sf /dev/sharp_ts /dev/ts - ln -sf /dev/collie-fl /dev/fl - ln -sf /proc/self/fd /dev/fd - ln -sf /proc/kcore /dev/core - /sbin/makedevs -r / -D /etc/device_table - if test $? -ne 0; then - if test "$VERBOSE" != "no"; then echo "failed"; fi - else - if test "$VERBOSE" != "no"; then echo "done"; fi - fi -fi - -exit 0 diff --git a/initscripts/initscripts-1.0/ramdisk b/initscripts/initscripts-1.0/ramdisk deleted file mode 100644 index 192c212527..0000000000 --- a/initscripts/initscripts-1.0/ramdisk +++ /dev/null @@ -1,46 +0,0 @@ -#!/bin/sh - -. /etc/default/rcS - -FSTYPE=ext2 - -if test ! -e /proc/mtd -then - test "$VERBOSE" != "no" && echo >&2 "/proc not mounted, or mtd support not enabled in kernel." - exit -fi - -RAM_MTD_NO=`cat /proc/mtd | grep mtdram | tail -n 1 | cut -d: -f1 | cut -dd -f2` -if test -z "$RAM_MTD_NO"; then exit 0; fi - -if test -e /dev/mtdblock/0 -then - RAM_MTD=/dev/mtd/$RAM_MTD_NO - RAM_MTDBLK=/dev/mtdblock/$RAM_MTD_NO -else - RAM_MTD=/dev/mtd$RAM_MTD_NO - RAM_MTDBLK=/dev/mtdblock$RAM_MTD_NO -fi - -RAM_MNTPT=/mnt/ram -RAM_MTD_SIZE_HEX=`cat /proc/mtd | grep mtdram | tail -n 1 | cut -d" " -f 2` -RAM_MTD_SIZE=`dc 0x$RAM_MTD_SIZE_HEX 1024 / p` -OLD_MTD_SIZE=`cat /etc/ramdisk.conf` -echo $RAM_MTD_SIZE > /etc/ramdisk.conf - -if test ! -d "$RAM_MNTPT"; then echo >&2 "Mountpoint $RAM_MNTPT does not exist!"; exit 0; fi - -if (test ! -e /etc/.configured) || test "$OLD_MTD_SIZE" != "$RAM_MTD_SIZE"; then - test "$VERBOSE" != "no" && echo -n "Wiping ramdisk: " - dd if=/dev/zero bs=1024 count=$RAM_MTD_SIZE of=$RAM_MTD 2>/dev/null >&2 || exit 1 - test "$VERBOSE" != "no" && echo "$RAM_MTD"; - test "$VERBOSE" != "no" && echo -n "Creating filesystem on ramdisk: " - mkfs.$FSTYPE $RAM_MTDBLK 2>/dev/null >&2 || exit 1 - test "$VERBOSE" != "no" && echo "$RAM_MTDBLK"; -fi - -test "$VERBOSE" != "no" && echo -n "Mounting ramdisk: " -mount -t $FSTYPE $RAM_MTDBLK $RAM_MNTPT 2>/dev/null >&2 || exit 1 -test "$VERBOSE" != "no" && echo "$RAM_MTDBLK"; - -exit 0 diff --git a/initscripts/initscripts-1.0/ramses/extractfs b/initscripts/initscripts-1.0/ramses/extractfs deleted file mode 100644 index 7e57dedd2d..0000000000 --- a/initscripts/initscripts-1.0/ramses/extractfs +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh - -if (grep -q 'tmpfs.*/var.*tmpfs' /proc/mounts) -then - test "$VERBOSE" != no && echo "Copying /var filesystem..." - cp -a /boot/var / -fi diff --git a/initscripts/initscripts-1.0/ramses/packages b/initscripts/initscripts-1.0/ramses/packages deleted file mode 100644 index 2566487d2d..0000000000 --- a/initscripts/initscripts-1.0/ramses/packages +++ /dev/null @@ -1,63 +0,0 @@ -#!/bin/sh -# Original author: ??? -# -# Additions by Steph Meslin-Weber: -# x Percentage display -# x Dot display of dependency installations -# - removed both of above -# - display is now X of Y packages and current package name being installed - -#. /etc/default/rcS - -reconfigure () { - pkg=$1 - path=$2 - isdependent=$3 - test -e "$path/info/$pkg.control" || return 1 - depends="`cat $path/info/$pkg.control|grep Depends|cut -d: -f2`" - - # make sure we haven't already installed this package - isthere=`cat /tmp/.configured.list|grep $pkg` - if test "$isthere" != ""; then - return 1 - fi - - if test "$depends" != ""; then - for dep in $depends; do - (echo $log|grep $dep >/dev/null 2>&1) || ( reconfigure $dep $path "$max" "$pkg" && log="$log $dep"; ) - done - fi - - echo -ne " ${pkg}" - - test -e "$path/info/$pkg.prerm" && $path/info/$pkg.prerm unconfigure >/dev/null 2>&1 - test -e "$path/info/$pkg.postinst" && $path/info/$pkg.postinst configure >/dev/null 2>&1 - - log="$log $pkg" - - # append the installed package name to the list - echo -ne "$pkg\n" >> /tmp/.configured.list - - echo - return 0 -} - -if test ! -e /etc/.configured; then - echo "Reconfiguring all packages installed to root:" - - # create unique packages list file - rm -f /tmp/.configured.list - touch /tmp/.configured.list - - log="" - - for control in /usr/lib/ipkg/info/*.control; do - package=`echo $control|sed -e 's,.*/,,g; s,\.control,,g;'` - (echo $log|grep $package >/dev/null 2>&1) || reconfigure $package /usr/lib/ipkg - done - - # cleanup unique packages list file - rm -f /tmp/.configured.list -fi - -test -f /usr/lib/ipkg/info/task-ramses || ipkg install task-ramses diff --git a/initscripts/initscripts-1.0/ramses/umountfs b/initscripts/initscripts-1.0/ramses/umountfs deleted file mode 100644 index 399194109b..0000000000 --- a/initscripts/initscripts-1.0/ramses/umountfs +++ /dev/null @@ -1,17 +0,0 @@ -#! /bin/sh -# -# umountfs Turn off swap and unmount all local filesystems. -# - -PATH=/sbin:/bin:/usr/sbin:/usr/bin - -echo "Deactivating swap..." -swapoff -a - -# We leave /proc mounted. -echo "Unmounting local filesystems..." -umount -f -a -r - -mount -o remount,ro / - -: exit 0 diff --git a/initscripts/initscripts-1.0/reboot b/initscripts/initscripts-1.0/reboot deleted file mode 100644 index 56278199be..0000000000 --- a/initscripts/initscripts-1.0/reboot +++ /dev/null @@ -1,11 +0,0 @@ -#! /bin/sh -# -# reboot Execute the reboot command. -# -# Version: @(#)reboot 2.75 22-Jun-1998 miquels@cistron.nl -# - -PATH=/sbin:/bin:/usr/sbin:/usr/bin - -echo -n "Rebooting... " -reboot -d -f -i diff --git a/initscripts/initscripts-1.0/rmnologin b/initscripts/initscripts-1.0/rmnologin deleted file mode 100644 index 444145a26a..0000000000 --- a/initscripts/initscripts-1.0/rmnologin +++ /dev/null @@ -1,14 +0,0 @@ -#! /bin/sh -# -# rmnologin This script removes the /etc/nologin file as the last -# step in the boot process. -# -# Version: @(#)rmnologin 1.00 22-Jun-1998 miquels@cistron.nl -# - -if test -f /etc/nologin.boot -then - rm -f /etc/nologin /etc/nologin.boot -fi - -: exit 0 diff --git a/initscripts/initscripts-1.0/sendsigs b/initscripts/initscripts-1.0/sendsigs deleted file mode 100644 index c62a5cd37d..0000000000 --- a/initscripts/initscripts-1.0/sendsigs +++ /dev/null @@ -1,17 +0,0 @@ -#! /bin/sh -# -# sendsigs Kill all remaining processes. -# -# Version: @(#)sendsigs 2.75 22-Jun-1998 miquels@cistron.nl -# - -PATH=/sbin:/bin:/usr/sbin:/usr/bin - -# Kill all processes. -echo "Sending all processes the TERM signal..." -killall5 -15 -sleep 5 -echo "Sending all processes the KILL signal..." -killall5 -9 - -: exit 0 diff --git a/initscripts/initscripts-1.0/shepherd/devices b/initscripts/initscripts-1.0/shepherd/devices deleted file mode 100644 index 4e18bebaab..0000000000 --- a/initscripts/initscripts-1.0/shepherd/devices +++ /dev/null @@ -1,64 +0,0 @@ -#!/bin/sh -# -# Devfs handling script. Since we arent running devfsd due to various reasons -# which I will not lay out here, we need to create some links for compatibility. - -. /etc/default/rcS - -if test -e /dev/.devfsd -then - if test "$VERBOSE" != "no"; then echo -n "Setting up device links for devfs: "; fi - ln -s /dev/touchscreen/0 /dev/ts - ln -s /dev/touchscreen/0raw /dev/tsraw - ln -s /dev/vc/0 /dev/tty0 - ln -s /dev/vc/1 /dev/tty1 - ln -s /dev/vc/2 /dev/tty2 - ln -s /dev/vc/3 /dev/tty3 - ln -s /dev/vc/4 /dev/tty4 - ln -s /dev/vc/5 /dev/tty5 - ln -s /dev/fb/0 /dev/fb0 -# ln -s /dev/tts/0 /dev/ttySA0 -# ln -s /dev/tts/1 /dev/ttySA1 -# ln -s /dev/tts/2 /dev/ttySA2 - - ln -s /dev/sound/dsp /dev/dsp - ln -s /dev/sound/mixer /dev/mixer - - ln -s /dev/v4l/video0 /dev/video0 - ln -s /dev/v4l/video0 /dev/video - ln -s /dev/misc/rtc /dev/rtc - - ## need this so that ppp will autoload the ppp modules - mknod /dev/ppp c 108 0 - if test "$VERBOSE" != "no"; then echo "done"; fi -else - if test "$VERBOSE" != "no"; then echo -n "Mounting /dev ramdisk: "; fi - mount -t ramfs ramfs /dev || mount -t tmpfs ramfs /dev - if test $? -ne 0; then - if test "$VERBOSE" != "no"; then echo "failed"; fi - else - if test "$VERBOSE" != "no"; then echo "done"; fi - fi - if test "$VERBOSE" != "no"; then echo -n "Populating /dev: "; fi - cd / - mkdir -p dev/msys - mkdir -p dev/pts - mkdir -p dev/vc - for i in 0 1 2 3 4 5 6 7 8 9; do - ln -s /dev/tty$i /dev/vc/$i - done - ln -sf /dev/sharp_ts /dev/ts - ln -sf /proc/self/fd /dev/fd - ln -sf /proc/kcore /dev/core - /sbin/makedevs -r / -D /etc/device_table - if test $? -ne 0; then - if test "$VERBOSE" != "no"; then echo "failed"; fi - else - if test "$VERBOSE" != "no"; then echo "done"; fi - fi -fi - -## enable (working) suspend/resume via power button on c7x0 -echo 1 >/proc/power_key_off - -exit 0 diff --git a/initscripts/initscripts-1.0/simpad/devices b/initscripts/initscripts-1.0/simpad/devices deleted file mode 100644 index d7b346a655..0000000000 --- a/initscripts/initscripts-1.0/simpad/devices +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/sh -# -# Devfs handling script. Since we arent running devfsd due to various reasons -# which I will not lay out here, we need to create some links for compatibility. - - test -n "$VERBOSE" && echo -n "Setting up device links for devfs: " - ( - ln -s /dev/vc/0 /dev/tty0 - ln -s /dev/vc/1 /dev/tty1 - ln -s /dev/vc/2 /dev/tty2 - ln -s /dev/vc/3 /dev/tty3 - ln -s /dev/vc/4 /dev/tty4 - ln -s /dev/vc/5 /dev/tty5 - ln -s /dev/fb/0 /dev/fb0 - # ln -s /dev/tts/0 /dev/ttySA0 - # ln -s /dev/tts/1 /dev/ttySA1 - # ln -s /dev/tts/2 /dev/ttySA2 - - ln -s /dev/sound/dsp /dev/dsp - ln -s /dev/sound/mixer /dev/mixer - - ln -s /dev/v4l/video0 /dev/video0 - ln -s /dev/v4l/video0 /dev/video - ln -s /dev/misc/rtc /dev/rtc - ln -s /dev/misc/apm_bios /dev/apm_bios - - ## need this so that ppp will autoload the ppp modules - mknod /dev/ppp c 108 0 - ) > /dev/null 2>&1 - - - test -n "$VERBOSE" && echo "done" diff --git a/initscripts/initscripts-1.0/single b/initscripts/initscripts-1.0/single deleted file mode 100644 index 2d177ebb62..0000000000 --- a/initscripts/initscripts-1.0/single +++ /dev/null @@ -1,21 +0,0 @@ -#! /bin/sh -# -# single executed by init(8) upon entering runlevel 1 (single). -# -# Version: @(#)single 1.20 26-Geb-2001 miquels@cistron.nl -# - -PATH="/sbin:/bin:/usr/sbin:/usr/bin" - -# Kill all processes. -echo "Sending all processes the TERM signal..." -killall5 -15 -sleep 5 -echo "Sending all processes the KILL signal..." -killall5 -9 - -# We start update here, since we just killed it. -test -x /sbin/update && update - -echo "Entering single-user mode..." -exec init -t1 S diff --git a/initscripts/initscripts-1.0/sysfs.sh b/initscripts/initscripts-1.0/sysfs.sh deleted file mode 100644 index 4486128ad5..0000000000 --- a/initscripts/initscripts-1.0/sysfs.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh - -if [ -e /proc ] && ! [ -e /proc/mounts ]; then - mount -t proc proc /proc -fi - -if [ -e /sys ] && grep -q sysfs /proc/filesystems; then - mount sysfs /sys -t sysfs -fi - -exit 0 diff --git a/initscripts/initscripts-1.0/tosa/devices b/initscripts/initscripts-1.0/tosa/devices deleted file mode 100644 index b26748e8bb..0000000000 --- a/initscripts/initscripts-1.0/tosa/devices +++ /dev/null @@ -1,61 +0,0 @@ -#!/bin/sh -# -# Devfs handling script. Since we arent running devfsd due to various reasons -# which I will not lay out here, we need to create some links for compatibility. - -. /etc/default/rcS - -if test -e /dev/.devfsd -then - if test "$VERBOSE" != "no"; then echo -n "Setting up device links for devfs: "; fi - ln -s /dev/touchscreen/0 /dev/ts - ln -s /dev/touchscreen/0raw /dev/tsraw - ln -s /dev/vc/0 /dev/tty0 - ln -s /dev/vc/1 /dev/tty1 - ln -s /dev/vc/2 /dev/tty2 - ln -s /dev/vc/3 /dev/tty3 - ln -s /dev/vc/4 /dev/tty4 - ln -s /dev/vc/5 /dev/tty5 - ln -s /dev/fb/0 /dev/fb0 -# ln -s /dev/tts/0 /dev/ttySA0 -# ln -s /dev/tts/1 /dev/ttySA1 -# ln -s /dev/tts/2 /dev/ttySA2 - - ln -s /dev/sound/dsp /dev/dsp - ln -s /dev/sound/mixer /dev/mixer - - ln -s /dev/v4l/video0 /dev/video0 - ln -s /dev/v4l/video0 /dev/video - ln -s /dev/misc/rtc /dev/rtc - - ## need this so that ppp will autoload the ppp modules - mknod /dev/ppp c 108 0 - if test "$VERBOSE" != "no"; then echo "done"; fi -else - if test "$VERBOSE" != "no"; then echo -n "Mounting /dev ramdisk: "; fi - mount -t ramfs ramfs /dev || mount -t tmpfs ramfs /dev - if test $? -ne 0; then - if test "$VERBOSE" != "no"; then echo "failed"; fi - else - if test "$VERBOSE" != "no"; then echo "done"; fi - fi - if test "$VERBOSE" != "no"; then echo -n "Populating /dev: "; fi - cd / - mkdir -p dev/msys - mkdir -p dev/pts - ln -sf /dev/sharp_ts /dev/ts - ln -sf /proc/self/fd /dev/fd - ln -sf /proc/kcore /dev/core - /sbin/makedevs -r / -D /etc/device_table - if test $? -ne 0; then - if test "$VERBOSE" != "no"; then echo "failed"; fi - else - if test "$VERBOSE" != "no"; then echo "done"; fi - fi -fi - -#Always turn on usb -if [ ! -d /dev/usb ]; then mkdir /dev/usb; fi -mknod /dev/usb/host_ohci c 10 222 - -exit 0 diff --git a/initscripts/initscripts-1.0/uml/devices b/initscripts/initscripts-1.0/uml/devices deleted file mode 100644 index 241972679f..0000000000 --- a/initscripts/initscripts-1.0/uml/devices +++ /dev/null @@ -1,59 +0,0 @@ -#!/bin/sh -# -# Devfs handling script. Since we arent running devfsd due to various reasons -# which I will not lay out here, we need to create some links for compatibility. - -. /etc/default/rcS - -if test -e /dev/.devfsd -then - if test "$VERBOSE" != "no"; then echo -n "Setting up device links for devfs: "; fi - ln -s /dev/touchscreen/0 /dev/ts - ln -s /dev/touchscreen/0raw /dev/tsraw - ln -s /dev/vc/0 /dev/tty0 - ln -s /dev/vc/1 /dev/tty1 - ln -s /dev/vc/2 /dev/tty2 - ln -s /dev/vc/3 /dev/tty3 - ln -s /dev/vc/4 /dev/tty4 - ln -s /dev/vc/5 /dev/tty5 - ln -s /dev/fb/0 /dev/fb0 -# ln -s /dev/tts/0 /dev/ttySA0 -# ln -s /dev/tts/1 /dev/ttySA1 -# ln -s /dev/tts/2 /dev/ttySA2 - - ln -s /dev/sound/dsp /dev/dsp - ln -s /dev/sound/mixer /dev/mixer - - ln -s /dev/v4l/video0 /dev/video0 - ln -s /dev/v4l/video0 /dev/video - ln -s /dev/misc/rtc /dev/rtc - - ## need this so that ppp will autoload the ppp modules - mknod /dev/ppp c 108 0 - if test "$VERBOSE" != "no"; then echo "done"; fi -else - if test "$VERBOSE" != "no"; then echo -n "Mounting /dev ramdisk: "; fi - mount -t ramfs ramfs /dev || mount -t tmpfs ramfs /dev - if test $? -ne 0; then - if test "$VERBOSE" != "no"; then echo "failed"; fi - else - if test "$VERBOSE" != "no"; then echo "done"; fi - fi - if test "$VERBOSE" != "no"; then echo -n "Populating /dev: "; fi - cd / - mkdir -p dev/msys - mkdir -p dev/pts -# ln -sf /dev/dsp1 /dev/sharp_buz - ln -sf /dev/sharp_ts /dev/ts - ln -sf /dev/collie-fl /dev/fl - ln -sf /proc/self/fd /dev/fd - ln -sf /proc/kcore /dev/core - /sbin/makedevs -r / -D /etc/device_table - if test $? -ne 0; then - if test "$VERBOSE" != "no"; then echo "failed"; fi - else - if test "$VERBOSE" != "no"; then echo "done"; fi - fi -fi - -exit 0 diff --git a/initscripts/initscripts-1.0/umountfs b/initscripts/initscripts-1.0/umountfs deleted file mode 100644 index ec75b0c4a4..0000000000 --- a/initscripts/initscripts-1.0/umountfs +++ /dev/null @@ -1,18 +0,0 @@ -#! /bin/sh -# -# umountfs Turn off swap and unmount all local filesystems. -# - -PATH=/sbin:/bin:/usr/sbin:/usr/bin - -echo "Deactivating swap..." -swapoff -a - -# We leave /proc mounted. -echo "Unmounting local filesystems..." -mount -o remount,ro /mnt/ram -umount -f -a -r - -mount -o remount,ro / - -: exit 0 diff --git a/initscripts/initscripts-1.0/umountnfs.sh b/initscripts/initscripts-1.0/umountnfs.sh deleted file mode 100644 index f5fe48aa74..0000000000 --- a/initscripts/initscripts-1.0/umountnfs.sh +++ /dev/null @@ -1,28 +0,0 @@ -#! /bin/sh -# -# umountnfs.sh Unmount all network filesystems. -# - -PATH=/sbin:/bin:/usr/sbin:/usr/bin - -# Write a reboot record to /var/log/wtmp before unmounting -halt -w - -echo "Unmounting remote filesystems..." - -test -f /etc/fstab && ( - -# -# Read through fstab line by line and unount network file systems -# -while read device mountpt fstype options -do - if test "$fstype" = nfs || test "$fstype" = smbfs || test "$fstype" = ncpfs - then - umount -f $mountpt - fi -done -) < /etc/fstab - -: exit 0 - diff --git a/initscripts/initscripts-1.0/urandom b/initscripts/initscripts-1.0/urandom deleted file mode 100644 index 45c41d758b..0000000000 --- a/initscripts/initscripts-1.0/urandom +++ /dev/null @@ -1,41 +0,0 @@ -#! /bin/sh -# -# urandom This script saves the random seed between reboots. -# It is called from the boot, halt and reboot scripts. -# -# Version: @(#)urandom 1.33 22-Jun-1998 miquels@cistron.nl -# - -test -c /dev/urandom || exit 0 -. /etc/default/rcS - -case "$1" in - start|"") - test "$VERBOSE" != no && echo "Initializing random number generator..." - # Load and then save 512 bytes, - # which is the size of the entropy pool - if test -f /var/lib/urandom/random-seed - then - cat /var/lib/urandom/random-seed >/dev/urandom - fi - rm -f /var/lib/urandom/random-seed - umask 077 - dd if=/dev/urandom of=/var/lib/urandom/random-seed count=1 \ - >/dev/null 2>&1 || echo "urandom start: failed." - umask 022 - ;; - stop) - # Carry a random seed from shut-down to start-up; - # see documentation in linux/drivers/char/random.c - test "$VERBOSE" != no && echo "Saving random seed..." - umask 077 - dd if=/dev/urandom of=/var/lib/urandom/random-seed count=1 \ - >/dev/null 2>&1 || echo "urandom stop: failed." - ;; - *) - echo "Usage: urandom {start|stop}" >&2 - exit 1 - ;; -esac - -exit 0 diff --git a/initscripts/initscripts_1.0.bb b/initscripts/initscripts_1.0.bb deleted file mode 100644 index 6ca006f5c4..0000000000 --- a/initscripts/initscripts_1.0.bb +++ /dev/null @@ -1,121 +0,0 @@ -DESCRIPTION = "SysV init scripts" -MAINTAINER = "Chris Larson <kergoth@handhelds.org>" -SECTION = "base" -PRIORITY = "required" -DEPENDS = "makedevs" -RDEPENDS = "makedevs" -LICENSE = "GPL" -PR = "r23" - -SRC_URI = "file://halt \ - file://ramdisk \ - file://umountfs \ - file://devices \ - file://devpts.sh \ - file://devpts \ - file://hostname.sh \ - file://mountall.sh \ - file://banner \ - file://finish \ - file://bootmisc.sh \ - file://mountnfs.sh \ - file://reboot \ - file://checkfs.sh \ - file://single \ - file://sendsigs \ - file://urandom \ - file://rmnologin \ - file://checkroot.sh \ - file://umountnfs.sh \ - file://sysfs.sh \ - file://checkversion \ - file://device_table.txt" - -SRC_URI_append_arm = " file://alignment.sh" - -do_install () { -# -# Create directories and install device independent scripts -# - install -d ${D}/${sysconfdir}/init.d \ - ${D}/${sysconfdir}/rcS.d \ - ${D}/${sysconfdir}/rc0.d \ - ${D}/${sysconfdir}/rc1.d \ - ${D}/${sysconfdir}/rc2.d \ - ${D}/${sysconfdir}/rc3.d \ - ${D}/${sysconfdir}/rc4.d \ - ${D}/${sysconfdir}/rc5.d \ - ${D}/${sysconfdir}/rc6.d \ - ${D}/${sysconfdir}/default - - install -m 0755 ${WORKDIR}/bootmisc.sh ${D}/etc/init.d - install -m 0755 ${WORKDIR}/checkroot.sh ${D}/etc/init.d - install -m 0755 ${WORKDIR}/finish ${D}/etc/init.d - install -m 0755 ${WORKDIR}/halt ${D}/etc/init.d - install -m 0755 ${WORKDIR}/hostname.sh ${D}/etc/init.d - install -m 0755 ${WORKDIR}/mountall.sh ${D}/etc/init.d - install -m 0755 ${WORKDIR}/mountnfs.sh ${D}/etc/init.d - install -m 0755 ${WORKDIR}/ramdisk ${D}/etc/init.d - install -m 0755 ${WORKDIR}/reboot ${D}/etc/init.d - install -m 0755 ${WORKDIR}/rmnologin ${D}/etc/init.d - install -m 0755 ${WORKDIR}/sendsigs ${D}/etc/init.d - install -m 0755 ${WORKDIR}/single ${D}/etc/init.d - install -m 0755 ${WORKDIR}/umountnfs.sh ${D}/etc/init.d - install -m 0755 ${WORKDIR}/urandom ${D}/etc/init.d - install -m 0755 ${WORKDIR}/devpts.sh ${D}/etc/init.d - install -m 0755 ${WORKDIR}/devpts ${D}/etc/default - install -m 0755 ${WORKDIR}/sysfs.sh ${D}/etc/init.d - if [ "${TARGET_ARCH}" = "arm" ]; then - install -m 0755 ${WORKDIR}/alignment.sh ${D}/etc/init.d - fi -# -# Install device dependent scripts -# - - # checkversion hardcoded for now since kernel may be built after initscripts - if [ "${DISTRO}" == "openzaurus" ]; then - cat ${WORKDIR}/checkversion | sed -e "s,VERSION,2.4.18-rmk7-pxa3-embedix-${DISTRO_VERSION}," > ${D}/etc/init.d/checkversion - chmod 0755 ${D}/etc/init.d/checkversion - ln -sf ../init.d/checkversion ${D}/etc/rcS.d/S05version - fi - - install -m 0755 ${WORKDIR}/banner ${D}/etc/init.d/banner - install -m 0755 ${WORKDIR}/devices ${D}/etc/init.d/devices - install -m 0755 ${WORKDIR}/umountfs ${D}/etc/init.d/umountfs -# -# Create runlevel links -# - ln -sf ../init.d/rmnologin ${D}/etc/rc2.d/S99rmnologin - ln -sf ../init.d/rmnologin ${D}/etc/rc3.d/S99rmnologin - ln -sf ../init.d/rmnologin ${D}/etc/rc4.d/S99rmnologin - ln -sf ../init.d/rmnologin ${D}/etc/rc5.d/S99rmnologin - ln -sf ../init.d/sendsigs ${D}/etc/rc6.d/S20sendsigs -# ln -sf ../init.d/urandom ${D}/etc/rc6.d/S30urandom - ln -sf ../init.d/umountnfs.sh ${D}/etc/rc6.d/S31umountnfs.sh -# ln -sf ../init.d/umountfs ${D}/etc/rc6.d/S40umountfs - ln -sf ../init.d/ramdisk ${D}/etc/rcS.d/S30ramdisk - ln -sf ../init.d/reboot ${D}/etc/rc6.d/S90reboot - ln -sf ../init.d/sendsigs ${D}/etc/rc0.d/S20sendsigs -# ln -sf ../init.d/urandom ${D}/etc/rc0.d/S30urandom - ln -sf ../init.d/umountnfs.sh ${D}/etc/rc0.d/S31umountnfs.sh -# ln -sf ../init.d/umountfs ${D}/etc/rc0.d/S40umountfs - ln -sf ../init.d/halt ${D}/etc/rc0.d/S90halt - ln -sf ../init.d/banner ${D}/etc/rcS.d/S01banner - ln -sf ../init.d/checkroot.sh ${D}/etc/rcS.d/S10checkroot.sh -# ln -sf ../init.d/checkfs.sh ${D}/etc/rcS.d/S30checkfs.sh - ln -sf ../init.d/mountall.sh ${D}/etc/rcS.d/S35mountall.sh - ln -sf ../init.d/hostname.sh ${D}/etc/rcS.d/S40hostname.sh - ln -sf ../init.d/mountnfs.sh ${D}/etc/rcS.d/S45mountnfs.sh - ln -sf ../init.d/bootmisc.sh ${D}/etc/rcS.d/S55bootmisc.sh -# ln -sf ../init.d/urandom ${D}/etc/rcS.d/S55urandom - ln -sf ../init.d/finish ${D}/etc/rcS.d/S99finish - ln -sf ../init.d/devices ${D}/etc/rcS.d/S04devices - # udev will run at S03 if installed - ln -sf ../init.d/sysfs.sh ${D}/etc/rcS.d/S02sysfs - ln -sf ../init.d/devpts.sh ${D}/etc/rcS.d/S38devpts.sh - if [ "${TARGET_ARCH}" = "arm" ]; then - ln -sf ../init.d/alignment.sh ${D}/etc/rcS.d/S05alignment - fi - - install -m 0755 ${WORKDIR}/device_table.txt ${D}/etc/device_table -} |