mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-08 05:26:58 +02:00
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:
parent
69faa267cd
commit
71afd1fe1a
@ -11,7 +11,7 @@ testif=eth_test
|
|||||||
# Prevent flimflam from taking control of the backchannel network device.
|
# Prevent flimflam from taking control of the backchannel network device.
|
||||||
ORIG_CONF=${ROOT_FS_DIR}/etc/init/flimflam.conf
|
ORIG_CONF=${ROOT_FS_DIR}/etc/init/flimflam.conf
|
||||||
TEMP_CONF=${ORIG_CONF}.tmp
|
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}
|
mv -f ${TEMP_CONF} ${ORIG_CONF}
|
||||||
|
|
||||||
# Arrange to run dhclient on the backchannel device but without
|
# Arrange to run dhclient on the backchannel device but without
|
||||||
|
Loading…
Reference in New Issue
Block a user