openwrt/package
John Crispin ef2f50829d base-files: add /etc/profile.d support
OpenWrt should support an optional /etc/profile.d directory like
most other Linux distributions. This allows packages to install
their own scripts into /etc/profile.d/ directory.

The file suffix should make clear, that these scripts
are (sourced) shell-snippets. If the user needs e.g. php or lua,
one must make sure that the interpreter is called.
The reverse failsafe test makes sure, that the effective returncode is 0.

A typcal usecase is the inclusion of private helpers,
special variables or aliases, which at the moment needs
patching the sourcecode and is not well maintainable.
Now the builder can simply add there files.

v1 initial work of Hendrik Lüth <hendrik@linux-nerds.de>
v2 changes regarding RFC (e.g. thomas.langer@lantiq.com)
v3 changes regarding RFC (e.g. mschiffer@universe-factory.net)
v4 keep it simple and mimic OpenWrt style

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>

SVN-Revision: 46965
2015-09-16 08:32:13 +00:00
..
base-files base-files: add /etc/profile.d support 2015-09-16 08:32:13 +00:00
boot package/uboot-envtools: add OpenMesh MR1750 support 2015-09-14 20:11:43 +00:00
devel gdb: update to the latest version, fixes a build error with gcc 5.2 2015-09-03 13:14:50 +00:00
firmware kernel: add staging r8188eu module (3.13) 2014-04-30 21:53:29 +00:00
kernel mac80211: refresh patch 2015-09-16 07:56:47 +00:00
libs libubox: update to latest git revision 2015-09-15 06:12:42 +00:00
network ppp: use more reliable way to set script environment 2015-09-15 14:52:47 +00:00
system procd: update to latest git revision 2015-09-16 08:31:45 +00:00
utils ugps: fix filename to eliminate build problems 2015-09-11 16:35:32 +00:00
Makefile build: Prevent more gzip timestamps 2015-07-14 09:57:45 +00:00