summaryrefslogtreecommitdiff
path: root/initscripts/initscripts-1.0/bootmisc.sh
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-12-09 09:47:41 +0000
committerChris Larson <clarson@kergoth.com>2004-12-09 09:47:41 +0000
commit2c5b8ec6d95cf68650265941530e5ce38c8dd6d9 (patch)
treebf879bea7ef8517ba8c3d1286ef300401d3d484c /initscripts/initscripts-1.0/bootmisc.sh
parent101e2f1623def0a355d20aacb8bd93810703e834 (diff)
Merge oe-devel@oe-devel.bkbits.net:openembedded
into hyperion.kergoth.com:/home/kergoth/code/openembedded 2004/12/09 03:39:39-06:00 kergoth.com!kergoth Break people's builds again.. this time moving the packages into a packages/ subdir to clean things up a bit. BKrev: 41b81f3dvlp3rU7_8MUXLcI8LDdDoA
Diffstat (limited to 'initscripts/initscripts-1.0/bootmisc.sh')
-rw-r--r--initscripts/initscripts-1.0/bootmisc.sh50
1 files changed, 0 insertions, 50 deletions
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