On Thursday 11 June 2009 12:03:56 Yuri wrote: > Mel Flynn wrote: > > So escape use and escape the quotes with a backslash. You may need more > > then one backslash, depending on the level of evaluation in /etc/rc.subr > > and /etc/rc.d/netif. > > I believe documentation should describe this since this is a major > element of setting wireless network up.
Perhaps. > If that's more than one backslash that's bad since it makes it cryptic. > I will investigate and will file a PR with patch. Knowledge of how sh treats variables is assumed for any unix admin. The level of escaping might be cryptic to some, but using sh -x /etc/rc./netif start <ifname> one can easily trace how the ifconfig_<ifname> variable is evaluated and where the backslashes are consumed. -- Mel _______________________________________________ email@example.com mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"