[OpenWrt-Devel] [PATCH] base-files: add /etc/profile.d support

Bastian Bittorf bittorf at bluebottle.com
Wed Jun 10 08:31:00 EDT 2015


* Matthias Schiffer <mschiffer at universe-factory.net> [10.06.2015 14:26]:
> Why should errors in these files cause login issues? This is shell and
> there's no -e, problematic lines will print an error and be skipped.

i have seen a lot of strange things. think about
flash readerrors or stack corruption or $youridea 8-)

i think we can agree that we will not use a subshell,
but ignore profile.d in failsafe mode, ok? the 'sh -n'
thing is just a small 'insurance' - do you think it hurts/is too much?

bye, bastian
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list