From 4a299c86527e9d07d8f057a0cc6c20247e8aadc0 Mon Sep 17 00:00:00 2001 From: Maxim Storchak Date: Wed, 18 Feb 2015 14:55:17 +0200 Subject: [PATCH] tgt: unquote 'device' and 'file' to make them keywords, not literals Signed-off-by: Maxim Storchak --- net/tgt/Makefile | 2 +- net/tgt/files/etc/init.d/tgt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net/tgt/Makefile b/net/tgt/Makefile index ef0a22f16..874a9309c 100644 --- a/net/tgt/Makefile +++ b/net/tgt/Makefile @@ -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 diff --git a/net/tgt/files/etc/init.d/tgt b/net/tgt/files/etc/init.d/tgt index c7ebbcc78..bd5f983c8 100755 --- a/net/tgt/files/etc/init.d/tgt +++ b/net/tgt/files/etc/init.d/tgt @@ -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' \