From 21d5affb846356fd486b06656835164f0b29324e Mon Sep 17 00:00:00 2001 From: Martin Dietze Date: Fri, 8 Sep 2006 13:02:49 +0000 Subject: various packages: added mtx-2 configuration * where necessary, additional mtx-2 subdirs for files created * where necessary, additional entries in bitbake files created --- .../base-files/base-files/mtx-2/.mtn2git_empty | 0 packages/base-files/base-files/mtx-2/fstab | 8 +++++++ packages/base-files/base-files/mtx-2/profile | 25 ++++++++++++++++++++++ 3 files changed, 33 insertions(+) create mode 100644 packages/base-files/base-files/mtx-2/.mtn2git_empty create mode 100644 packages/base-files/base-files/mtx-2/fstab create mode 100644 packages/base-files/base-files/mtx-2/profile (limited to 'packages/base-files') diff --git a/packages/base-files/base-files/mtx-2/.mtn2git_empty b/packages/base-files/base-files/mtx-2/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/packages/base-files/base-files/mtx-2/fstab b/packages/base-files/base-files/mtx-2/fstab new file mode 100644 index 0000000000..f6f23ac2aa --- /dev/null +++ b/packages/base-files/base-files/mtx-2/fstab @@ -0,0 +1,8 @@ +# /etc/fstab: static file system information. mtx-2 +# +# +rootfs / auto defaults 1 1 +tmpfs /var tmpfs size=10m 0 0 +proc /proc proc defaults 0 0 +devpts /dev/pts devpts mode=0620,gid=5 0 0 +usbdevfs /proc/bus/usb usbdevfs noauto 0 0 diff --git a/packages/base-files/base-files/mtx-2/profile b/packages/base-files/base-files/mtx-2/profile new file mode 100644 index 0000000000..bedf2fc7d8 --- /dev/null +++ b/packages/base-files/base-files/mtx-2/profile @@ -0,0 +1,25 @@ +# /etc/profile: system-wide .profile file for the Bourne shell (sh(1)) +# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...). + +PATH="/usr/local/bin:/usr/bin:/bin" + +if [ "`id -u`" -eq 0 ]; then + PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin: +fi +if [ "$PS1" ]; then +# works for bash and ash (no other shells known to be in use here) + 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 + +umask 022 + +alias ll="ls -lah" \ No newline at end of file -- cgit v1.2.3