Subversion Repositories configs

Rev

Rev 4 | Rev 9 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4 Rev 5
Line 425... Line 425...
425
}
425
}
426
 
426
 
427
install_bonding_driver ()
427
install_bonding_driver ()
428
{
428
{
429
   [ ! -f /sys/class/net/bonding_masters ] && ( modprobe bonding || return 1 )
429
   [ ! -f /sys/class/net/bonding_masters ] && ( modprobe bonding || return 1 )
430
   if ! grep -sq "$1" /sys/class/net/bonding_masters; then
430
   if ! grep -sqw "$1" /sys/class/net/bonding_masters; then
431
       echo "+$1" > /sys/class/net/bonding_masters 2>/dev/null
431
       echo "+$1" > /sys/class/net/bonding_masters 2>/dev/null
432
   fi
432
   fi
433
   (
433
   (
434
	# Set config here
434
	# Set config here
435
	need_config "$1"
435
	need_config "$1"