diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-30 17:45:05 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-30 17:45:05 +0000 |
commit | 74cfe6438fe0671c7443c88bb0b4edd68d5726bc (patch) | |
tree | 15344db6c183b4234df24308aaaf58acd87767b8 /linux/bin/linux-ice | |
parent | Adding upstream version 20231120. (diff) | |
download | open-infrastructure-service-tools-06412fa7556301c855c923adf325de3d5efbf255.tar.xz open-infrastructure-service-tools-06412fa7556301c855c923adf325de3d5efbf255.zip |
Adding upstream version 20240930.upstream/20240930upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'linux/bin/linux-ice')
-rwxr-xr-x | linux/bin/linux-ice | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/linux/bin/linux-ice b/linux/bin/linux-ice index 5f0feee..18d20a2 100755 --- a/linux/bin/linux-ice +++ b/linux/bin/linux-ice @@ -2,7 +2,7 @@ # Open Infrastructure: service-tools -# Copyright (C) 2014-2023 Daniel Baumann <daniel.baumann@open-infrastructure.net> +# Copyright (C) 2014-2024 Daniel Baumann <daniel.baumann@open-infrastructure.net> # # SPDX-License-Identifier: GPL-3.0+ # @@ -80,7 +80,7 @@ Start () for DEVICE in ${DEVICES} do echo -n "Configuring ${DEVICE}:" - Ethtool_set "${DEVICE}" disable-fw-lldp on + Ethtool_set "${DEVICE}" fw-lldp-agent on Ethtool_set "${DEVICE}" link-down-on-close on echo done @@ -93,7 +93,7 @@ Stop () for DEVICE in ${DEVICES} do echo -n "Deconfiguring ${DEVICE}:" - Ethtool_set "${DEVICE}" disable-fw-lldp off + Ethtool_set "${DEVICE}" fw-lldp-agent off Ethtool_set "${DEVICE}" link-down-on-close off echo done @@ -104,7 +104,7 @@ Status () for DEVICE in ${DEVICES} do echo -n "${DEVICE}:" - Ethtool_get "${DEVICE}" disable-fw-lldp on + Ethtool_get "${DEVICE}" fw-lldp-agent on Ethtool_get "${DEVICE}" link-down-on-close on echo done |