Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4
lldpad
mkinitrd-setup.sh
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mkinitrd-setup.sh of Package lldpad
#!/bin/bash # #%stage: device #%depends: fcoe # # # Check if DCBX is active for FCoE traffic # dcbd_check_app_fcoe() { local if=$1 local dcberr=1 . /etc/fcoe/cfg-${if} if [ "$DCB_REQUIRED" = "yes" ] ; then echo "active" fi } if [ "${root_fcoe}" ] ; then dcb_status=$(dcbd_check_app_fcoe $fcoe_vif) if [ "$dcb_status" = "active" ] ; then root_dcbd=1 fi fi save_var root_dcbd if [ "${root_dcbd}" ] ; then mkdir -p ${tmp_mnt}/var/lib/lldpad if [ -f /var/lib/lldpad/lldpad.conf ] ; then # copy the dcbd configuration cp -p /var/lib/lldpad/lldpad.conf ${tmp_mnt}/var/lib/lldpad fi fi
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor