scripts: adjust to change in flimflam.conf

Update sed cmd to reflect multi-profile changes.

BUG=chromium-os:12948
TEST=run mod_image_for_test; boot and verify flimflam.conf is properly edited

Change-Id: I9f58aabc4c302b1e24737b0fcb15fc2719d120d6
Reviewed-on: http://gerrit.chromium.org/gerrit/1198
Tested-by: Sam Leffler <sleffler@chromium.org>
Reviewed-by: Richard Barnette <jrbarnette@chromium.org>
This commit is contained in:
Sam Leffler 2011-05-19 13:17:56 -07:00
parent 69faa267cd
commit 71afd1fe1a

View File

@ -11,7 +11,7 @@ testif=eth_test
# Prevent flimflam from taking control of the backchannel network device.
ORIG_CONF=${ROOT_FS_DIR}/etc/init/flimflam.conf
TEMP_CONF=${ORIG_CONF}.tmp
sed "s,/usr/sbin/flimflamd,/usr/sbin/flimflamd -I ${testif}," ${ORIG_CONF} > ${TEMP_CONF}
sed "s,flimflamd,flimflamd -I ${testif}," ${ORIG_CONF} > ${TEMP_CONF}
mv -f ${TEMP_CONF} ${ORIG_CONF}
# Arrange to run dhclient on the backchannel device but without