* Yousong Zhou <yszhou4t...@gmail.com> [10.06.2015 20:38]:
> > distributions. This allows packages to install their own scripts into
> > /etc/profile.d/.
> 
> IMO, OpenWrt is not like most of other Linux distributions.  So what are
> those other packages that need this and the current specific use cases?

I agree, that OpenWrt differs - and i have a usecase:

1)
we like to have special helpers like

alias n='wget -qO - http://127.0.0.1:2006/neighbours'
(for OLSRd)

and we source/include a special 'metascript' which
makes adminstration much easier. for now we patch /etc/profile
but having it in profile.d is more clean and: it is automatically
removed if package XY is also removed...

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

Reply via email to