tgt: unquote 'device' and 'file' to make them keywords, not literals 923/head
authorMaxim Storchak <m.storchak@gmail.com>
Wed, 18 Feb 2015 12:55:17 +0000 (14:55 +0200)
committerMaxim Storchak <m.storchak@gmail.com>
Wed, 18 Feb 2015 13:22:48 +0000 (15:22 +0200)
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
net/tgt/Makefile
net/tgt/files/etc/init.d/tgt

index ef0a22f16b313f6f49e386d722c1dc4ed7de96e2..874a9309c8b7803c5896fb293decf3f37d26e005 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=tgt
 PKG_VERSION:=1.0.53
 PKG_REV:=9764e0afd9a7115e356fc85569a780f9003c4eac
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 PKG_USE_MIPS16:=0
 
 PKG_SOURCE_PROTO:=git
index c7ebbcc78034511f8290b3513f935ffb1b340cc1..bd5f983c8b9d0629d65621f783cb468788754d97 100755 (executable)
@@ -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' \