diff options
author | Stefan Agner <stefan.agner@toradex.com> | 2015-04-28 16:00:31 +0200 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2015-05-12 10:04:36 +0200 |
commit | fe1f0eb79c621452c2a897956a44bf7b92e882a4 (patch) | |
tree | 5a133ca9efcff6e5897807d7007face7b2c260bd /recipes/base-files/base-files/colibri-t30/profile | |
parent | 3270c5ae6701c17730c7f7573678b021826bcf18 (diff) |
base-files: consolidate fstab/profile
There are no more differences in fstab between machines, hence use
the same common file. The default profile has some differences,
however we can seperate them out and create a file which will be
installed in profile.d.
missing
Diffstat (limited to 'recipes/base-files/base-files/colibri-t30/profile')
-rw-r--r-- | recipes/base-files/base-files/colibri-t30/profile | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/recipes/base-files/base-files/colibri-t30/profile b/recipes/base-files/base-files/colibri-t30/profile deleted file mode 100644 index 8380341..0000000 --- a/recipes/base-files/base-files/colibri-t30/profile +++ /dev/null @@ -1,38 +0,0 @@ -# /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 [ "$HOME" = "/home/root" ]; 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 /etc/profile.d/* ; do - . $i - done - unset i -fi - -test -z "$DISPLAY" && DISPLAY=":0.0" # have the X display defined, unless it is already set, e.g. by a ssh connection -export DISPLAY - -# temporary workaround to give fw_setenv mmcblk0boot1 write permissions -function fw_setenv() { echo 0 > /sys/block/mmcblk0boot1/force_ro; /sbin/fw_setenv "$@"; echo 1 > /sys/block/mmcblk0boot1/force_ro; } - -export PATH PS1 OPIEDIR QPEDIR QTDIR EDITOR TERM - -umask 022 - |