skeleton: Clean up profile file
authorMaxime Hadjinlian <maxime.hadjinlian@gmail.com>
Sat, 3 Oct 2015 14:53:20 +0000 (16:53 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 4 Oct 2015 14:52:53 +0000 (15:52 +0100)
commitf93c692c048c96f044c8a0bb6c4b5daebfd36468
tree9fbf0449fd9d0cd7c145ae9a6b5c96e0cb79bd28
parentbf82f70fb69ba5db0e584cd4c8c001763bb39bd4
skeleton: Clean up profile file

There's a lot of code in /etc/profile, which doesn't really belong in a
minimal default skeleton.

Also, add an 'unset i' to avoid clutter.

If the user has a specific needs, it needs to be added in
/etc/profile.d/ by a post-build script.

Signed-off-by Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: Luca Ceresoli <luca@lucaceresoli.net>
Tested-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
system/skeleton/etc/profile
system/skeleton/etc/profile.d/umask [new file with mode: 0644]