|
@ -14,7 +14,7 @@ logger="logger -p daemon.err -s -t $NAME" |
|
|
|
|
|
|
|
|
validate_lun_section() { |
|
|
validate_lun_section() { |
|
|
uci_validate_section tgt lun $1 \ |
|
|
uci_validate_section tgt lun $1 \ |
|
|
'device:or("file", "device")' \ |
|
|
|
|
|
|
|
|
'device:or(file, device)' \ |
|
|
'type:or("disk", "cd", "pt"):disk' \ |
|
|
'type:or("disk", "cd", "pt"):disk' \ |
|
|
'bstype:or("rdwr", "aio", "sg"):rdwr' \ |
|
|
'bstype:or("rdwr", "aio", "sg"):rdwr' \ |
|
|
'sync:bool:0' \ |
|
|
'sync:bool:0' \ |
|
|