From 71afd1fe1a0f373bd91d6b8abbccea0ca485e9cc Mon Sep 17 00:00:00 2001 From: Sam Leffler Date: Thu, 19 May 2011 13:17:56 -0700 Subject: [PATCH] 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 Reviewed-by: Richard Barnette --- mod_for_test_scripts/100setupTestingInterface | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod_for_test_scripts/100setupTestingInterface b/mod_for_test_scripts/100setupTestingInterface index 9fc540913a..8c530ea5fa 100755 --- a/mod_for_test_scripts/100setupTestingInterface +++ b/mod_for_test_scripts/100setupTestingInterface @@ -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