File: stop-fcoe.sh

package info (click to toggle)
dracut 051-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 3,952 kB
  • sloc: sh: 23,881; ansic: 4,006; makefile: 367; perl: 241; python: 166; lisp: 2
file content (6 lines) | stat: -rwxr-xr-x 111 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
#!/bin/bash

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