summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2004-06-06 21:13:06 +0000
committerMichael Lauer <mickey@vanille-media.de>2004-06-06 21:13:06 +0000
commit770af488582441a0dce0632514e13bc61fa6b1bf (patch)
tree97096074bdc53f0875a3db6f32f1221a2afe6f58
parent4dc3e13132019d16a001afa64c4c380b52a8f9f6 (diff)
Merge bk://openembedded@openembedded.bkbits.net/packages
into r2d2.tm.informatik.uni-frankfurt.de:/home/projekte/packages 2004/06/06 23:13:00+02:00 uni-frankfurt.de!mickeyl run /sbin/ldconfig during bootmisc.sh 2004/06/06 22:50:48+02:00 uni-frankfurt.de!mickeyl make /etc/profile source everything in /etc/profile.d we should check if we could use run-parts, but i'm not sure if this can source scripts BKrev: 40c388e2zNj7HHEgPtOl93czD_t5LQ
-rw-r--r--base-files/base-files/etc/profile7
-rw-r--r--initscripts/initscripts-1.0-r0/bootmisc.sh50
-rw-r--r--putty/putty_cvs.oe0
3 files changed, 57 insertions, 0 deletions
diff --git a/base-files/base-files/etc/profile b/base-files/base-files/etc/profile
index 2e28fc777b..08b8355cc1 100644
--- a/base-files/base-files/etc/profile
+++ b/base-files/base-files/etc/profile
@@ -14,6 +14,13 @@ if [ "$PS1" ]; then
PS1='\u@\h:\w\$ '
fi
+if [ -d /etc/profile.d ]; then
+ for i in `ls /etc/profile.d/`; do
+ . /etc/profile.d/$i
+ done
+ unset i
+fi
+
export PATH PS1 OPIEDIR QPEDIR QTDIR
umask 022
diff --git a/initscripts/initscripts-1.0-r0/bootmisc.sh b/initscripts/initscripts-1.0-r0/bootmisc.sh
index e69de29bb2..74d27f513f 100644
--- a/initscripts/initscripts-1.0-r0/bootmisc.sh
+++ b/initscripts/initscripts-1.0-r0/bootmisc.sh
@@ -0,0 +1,50 @@
+#
+# 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/putty/putty_cvs.oe b/putty/putty_cvs.oe
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/putty/putty_cvs.oe