Hi,

I've created a custom /etc/udhcpc.user script.  It invokes ssh.

When it is invoked on a TP-Link MR3220 or MR3240, ssh looks in
/root/.ssh/known_hosts for trusted hosts

When it is invoked on a TP-Link WR1043ND, ssh looks in /.ssh/known_hosts

When ssh is invoked from the command line (rather than from my
udhcpc.user script), it always looks in the correct place
(/root/.ssh/known_hosts)

All three routers are running snapshot builds from trunk

In particular, I notice on the WR1043ND, the script reports that the
environment variable $HOME='/', while on the MR3220, $HOME is not set at
all, can anyone comment on these observations?

Is there some known issue with $HOME or should I dig deeper to find out
why it is behaving like this on this particular snapshot/router?

Regards,

Daniel


_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to