From owner-freebsd-questions@FreeBSD.ORG Tue Jul 21 09:11:48 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 360A1106564A for ; Tue, 21 Jul 2009 09:11:48 +0000 (UTC) (envelope-from kraduk@googlemail.com) Received: from mail-bw0-f224.google.com (mail-bw0-f224.google.com [209.85.218.224]) by mx1.freebsd.org (Postfix) with ESMTP id B94B68FC1B for ; Tue, 21 Jul 2009 09:11:47 +0000 (UTC) (envelope-from kraduk@googlemail.com) Received: by bwz24 with SMTP id 24so201413bwz.43 for ; Tue, 21 Jul 2009 02:11:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=2OWG1fNOtrJrDRmYMzNi900wotQ9cRU3qDOhTNB5ru0=; b=EZeFHlKi2GdqCD+1nJMm7cUbleAuh/zgWcu56tfw0uB8s7I7ht89rsIhcBwhqs5lOH irYDfWyR80YYSluBYs0/yiOeCJIG0+vC+HXykKbty80j3THdbpSCHLYUyfOELqGm65zN at9hDCNfVjjqkMgCAl04SpnSQ78cm6VttW1jk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=WIqehF5SuUMMy0EpbV37XFUoKMn85waYn/N8FtQ68fSwXLaK4ZTXucn/MXtiTAf4U5 kXLEeLHj0Gh3waEIQLfgRoplu8iClY/4IC+9KwmIxDzo9y3l2r2+AnuYrWZSAw2efWZJ /q637x/ukJS2Art7d4rSx2yi3ANnqJn3V2QgA= MIME-Version: 1.0 Received: by 10.103.11.7 with SMTP id o7mr2697900mui.95.1248166007470; Tue, 21 Jul 2009 01:46:47 -0700 (PDT) Date: Tue, 21 Jul 2009 09:46:47 +0100 Message-ID: From: chris scott To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: backticks in rc.conf X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jul 2009 09:11:48 -0000 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 eg Jul 20 16:56:37 X root: /etc/rc: DEBUG: run_rc_command: doit: /usr/local/bin/rsync --config=/etc/rsyncd.conf --address= --daemon