#!/bin/bash
if ! getargbool 1 rd.fcoe -d -n rd.nofcoe ; then
info "rd.fcoe=0: skipping lldpad activation"
return 0
fi
# Note lldpad will stay running after switchroot, the system initscripts
# are to kill it and start a new lldpad to take over. Data is transfered
# between the 2 using a shm segment
lldpad -d
# wait for lldpad to be ready
i=0
while [ $i -lt 60 ]; do
lldptool -p && break
info "Waiting for lldpad to be ready"
sleep 1
i=$(($i+1))
done
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| cleanup-fcoe.sh | File | 544 B | 0755 |
|
| fcoe-edd.sh | File | 1.13 KB | 0755 |
|
| fcoe-genrules.sh | File | 1.18 KB | 0755 |
|
| fcoe-up.sh | File | 2.47 KB | 0755 |
|
| lldpad.sh | File | 472 B | 0755 |
|
| module-setup.sh | File | 3.34 KB | 0755 |
|
| parse-fcoe.sh | File | 1.99 KB | 0755 |
|
| stop-fcoe.sh | File | 111 B | 0755 |
|