| # Copyright 2017 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. |
| |
| # iwlwifi_dump_processor |
| # |
| # Sandbox for the Intel WiFi firmware dump tools. We invoke this from |
| # upstart so the devcoredump framework doesn't have to wait for it to |
| # complete. |
| |
| import DUMP_FILE_PATH |
| |
| # We don't want stale dump files sitting around so after we process |
| # one we should get rid of it. |
| post-stop exec rm -f "${DUMP_FILE_PATH}" |
| |
| exec iwlwifi_dump_processor "${DUMP_FILE_PATH}" > /var/log/last_iwlwifi_dump |