tgt: unquote 'device' and 'file' to make them keywords, not literals

Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
This commit is contained in:
Maxim Storchak
2015-02-18 14:55:17 +02:00
parent 5836fe34e9
commit 4a299c8652
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ logger="logger -p daemon.err -s -t $NAME"
validate_lun_section() {
uci_validate_section tgt lun $1 \
'device:or("file", "device")' \
'device:or(file, device)' \
'type:or("disk", "cd", "pt"):disk' \
'bstype:or("rdwr", "aio", "sg"):rdwr' \
'sync:bool:0' \