blob: 43138290628eba3cd6ab5299f1a6e11598817874 [file] [log] [blame]
# Copyright 2021 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.
#!/bin/bash
set -x
dut-control -p $PORT "log_msg:Turning down servod."
for CMD in iptables-legacy ip6tables-legacy ; do
$CMD -D INPUT -p tcp --dport $PORT -j ACCEPT || true
done