Openwrt/package/base-files/files/etc
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
..
config
hotplug.d/net
init.d base-files: fix /tmp/.jail permissions 2015-07-24 09:11:00 +00:00
iproute2 base-files: add /etc/iproute2/rt_tables, replace ifconfig-usage 2015-09-08 17:44:13 +00:00
opkg/keys
rc.button base-files: rework reset button script to indicate factory reset 2015-08-17 06:16:39 +00:00
sysctl.d
uci-defaults
banner base-files: change banner to Designated Driver release 2015-09-11 08:56:37 +00:00
banner.failsafe
device_info
diag.sh
group
hosts base-files: add /etc/hosts entries for ::1, ff02::1 and ff02::2 2015-09-02 11:54:03 +00:00
inittab
openwrt_release
openwrt_version
passwd
preinit
profile base-files: add /etc/profile.d support 2015-09-16 08:32:13 +00:00
protocols
rc.common
rc.local
services
shadow
shells
sysctl.conf base-files: fix typo in core dump pattern sysctl entry (fixes #20489) 2015-09-12 08:57:59 +00:00
sysupgrade.conf