mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-04 11:51:14 +02:00
crosutils: add new mod_for_test script, to keep flimflam away from
test wi-fi devices. in http://gerrit.chromium.org/gerrit/6405, we introduced support for running some WiFi autotests in a VM (running a test image). for those tests to work, the connection manager must not attempt to manage the devices used by the APs. this change adds a mod_for_test script that updates flimflam's init script, adding command-line arguments that tell flimflam to ignore the AP devices. BUG=chromium-os:16348 TEST=manual: built test image, checked flimflam args in /etc/init/flimflam.conf Change-Id: I7a26d817e78f5743e2922a35c20ad6bee139445d Reviewed-on: http://gerrit.chromium.org/gerrit/6443 Reviewed-by: Richard Barnette <jrbarnette@chromium.org> Reviewed-by: mukesh agrawal <quiche@chromium.org> Tested-by: mukesh agrawal <quiche@chromium.org>
This commit is contained in:
parent
8e5634c34b
commit
72f7c86449
11
mod_for_test_scripts/150setupVirtualWiFi
Executable file
11
mod_for_test_scripts/150setupVirtualWiFi
Executable file
@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
|
||||
echo "Configuring for virtual WiFi devices"
|
||||
|
||||
# Prevent flimflam from taking control of AP interfaces
|
||||
sed -i "s/flimflamd/flimflamd -I wlan1 -I wlan2 -I managed0 -I managed1/" \
|
||||
${ROOT_FS_DIR}/etc/init/flimflam.conf
|
||||
Loading…
x
Reference in New Issue
Block a user