File: stop-fcoe.sh

package info (click to toggle)
dracut 059-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 4,464 kB
  • sloc: sh: 24,874; ansic: 4,479; makefile: 350; perl: 241; python: 28
file content (6 lines) | stat: -rwxr-xr-x 112 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
#!/bin/sh

for f in /sys/bus/fcoe/devices/ctlr_*; do
    [ -e "$f" ] || continue
    echo 0 > "$f"/enabled
done