[OpenWrt-Devel] uhttpd / startup-error without a message / procd interactive logging

Bastian Bittorf bittorf at bluebottle.com
Mon May 11 05:51:30 EDT 2015


* Jo-Philipp Wich <jow at openwrt.org> [11.05.2015 11:47]:
> > this is not very intuitive. can this be send to console
> > when user is interactive? (like: loggger -s message)
> 
> Not easily as it is procd logging the services stderr. One can implement
> a "test" or "debug" start action though which would calculate the
> commandline and start the daemon in foreground without actually
> registering it with procd.

it think thats too special - there should be a generic way to
get direct feedback on the commandline when something fails without
doing magic. what if we e.g. 'export INTERACTIVE=1' via /etc/profile
so procd / a called script is aware of this?

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