Changeset r47080 globally unified the executable search path in OpenWrt,
now update procd to use the same path value.
This fixes diverging path values observed in programs launched by netifd
which inherits the early path value from procd.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
static void
early_env(void)
{
- setenv("PATH", "/bin:/sbin:/usr/bin:/usr/sbin", 1);
+ setenv("PATH", "/usr/sbin:/usr/bin:/sbin:/bin", 1);
}
void