diff options
Diffstat (limited to 'modules.d/95fcoe/stop-fcoe.sh')
-rwxr-xr-x | modules.d/95fcoe/stop-fcoe.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modules.d/95fcoe/stop-fcoe.sh b/modules.d/95fcoe/stop-fcoe.sh new file mode 100755 index 0000000..a89cbbc --- /dev/null +++ b/modules.d/95fcoe/stop-fcoe.sh @@ -0,0 +1,6 @@ +#!/bin/sh + +for f in /sys/bus/fcoe/devices/ctlr_*; do + [ -e "$f" ] || continue + echo 0 > "$f"/enabled +done |