mirror of
https://github.com/openmediavault/openmediavault
synced 2024-07-01 07:15:21 +00:00
Mantis 0001112: Failed to setup multiple bonding interfaces.
This commit is contained in:
parent
67ca09722b
commit
04391e5fdb
|
@ -1,3 +1,9 @@
|
|||
openmediavault (0.5.60) stable; urgency=low
|
||||
|
||||
* Mantis 0001112: Failed to setup multiple bonding interfaces.
|
||||
|
||||
-- Volker Theile <volker.theile@openmediavault.org> Mon, 22 Sep 2014 17:46:26 +0200
|
||||
|
||||
openmediavault (0.5.59) stable; urgency=low
|
||||
|
||||
* Fix bug in omv-update command.
|
||||
|
|
|
@ -79,7 +79,7 @@ class OMVSystem extends OMVObject {
|
|||
public static function getNextDevice($type, $name) {
|
||||
$cmdList = array(
|
||||
"disk" => "cat /proc/partitions | awk '{print $4}'",
|
||||
"iface" => "netstat -i"
|
||||
"iface" => "netstat -i | awk '{print $1}'"
|
||||
);
|
||||
$cmd = sprintf("%s | grep '^%s[0-9]\{1,\}$' | sort -r | " .
|
||||
"head -n 1", $cmdList[$type], $name);
|
||||
|
|
Loading…
Reference in New Issue
Block a user