diff options
author | Jesse Gilles <jgilles@multitech.com> | 2013-02-13 11:30:02 -0600 |
---|---|---|
committer | Jesse Gilles <jgilles@multitech.com> | 2013-02-13 11:30:02 -0600 |
commit | 15d28d0ef6fa8c2fa29feea03e1c3c1c9e107866 (patch) | |
tree | 29f554753af8aa76a00fed66b98acff60defa429 /multitech/recipes/base-files | |
parent | c6096a2290cec993d135e79676c259a8876065ec (diff) |
base-files: add files for mtocgd3
Diffstat (limited to 'multitech/recipes/base-files')
-rw-r--r-- | multitech/recipes/base-files/base-files/mtocgd3/fstab | 12 | ||||
-rw-r--r-- | multitech/recipes/base-files/base-files/mtocgd3/profile | 34 |
2 files changed, 46 insertions, 0 deletions
diff --git a/multitech/recipes/base-files/base-files/mtocgd3/fstab b/multitech/recipes/base-files/base-files/mtocgd3/fstab new file mode 100644 index 0000000..84dc1f0 --- /dev/null +++ b/multitech/recipes/base-files/base-files/mtocgd3/fstab @@ -0,0 +1,12 @@ +rootfs / auto defaults 1 1 +proc /proc proc defaults 0 0 +devpts /dev/pts devpts mode=0620,gid=5 0 0 +usbfs /proc/bus/usb usbfs defaults 0 0 +tmpfs /var/volatile tmpfs defaults 0 0 +tmpfs /dev/shm tmpfs mode=0777 0 0 +tmpfs /media/ram tmpfs defaults 0 0 + +/dev/mtdblock6 /var/config jffs2 defaults 0 0 + +# SD card +/dev/mmcblk0p1 /media/card auto defaults,sync 0 0 diff --git a/multitech/recipes/base-files/base-files/mtocgd3/profile b/multitech/recipes/base-files/base-files/mtocgd3/profile new file mode 100644 index 0000000..0879251 --- /dev/null +++ b/multitech/recipes/base-files/base-files/mtocgd3/profile @@ -0,0 +1,34 @@ +# /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" +EDITOR="/bin/vi" # needed for packages like cron +test -z "$TERM" && TERM="vt100" # Basic terminal capab. For screen etc. + +if [ ! -e /etc/localtime ]; then + TZ="UTC" # Time Zone. Look at http://theory.uwinnipeg.ca/gnu/glibc/libc_303.html + # for an explanation of how to set this to your local timezone. + export TZ +fi + +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='\$ ' +fi + +if [ -d /etc/profile.d ]; then + for i in /etc/profile.d/*.sh; do + if [ -r $i ]; then + . $i + fi + done + unset i +fi + +export PATH PS1 OPIEDIR QPEDIR QTDIR EDITOR TERM + +umask 022 + |