can i use backticks in rc.conf?

Basically i want a standard rc.conf and want to bind rsync to a specific ip

hence i want this in my rc.conf

rsyncd_flags="--config=/etc/rsyncd.conf --address="` ifconfig bce1 | grep
inet | awk '{print $2}'`

it works fine from the shell, however on reboot the address section doesnt
expand, or rather it goes blank


Jul 20 16:56:37 X root: /etc/rc: DEBUG: run_rc_command: doit:
/usr/local/bin/rsync --config=/etc/rsyncd.conf --address= --daemon
_______________________________________________ mailing list
To unsubscribe, send any mail to ""

Reply via email to