瀏覽代碼

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

Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
Maxim Storchak 10 年之前
父節點
當前提交
4a299c8652
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1
    1
      net/tgt/Makefile
  2. 1
    1
      net/tgt/files/etc/init.d/tgt

+ 1
- 1
net/tgt/Makefile 查看文件

@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
9 9
 PKG_NAME:=tgt
10 10
 PKG_VERSION:=1.0.53
11 11
 PKG_REV:=9764e0afd9a7115e356fc85569a780f9003c4eac
12
-PKG_RELEASE:=2
12
+PKG_RELEASE:=3
13 13
 PKG_USE_MIPS16:=0
14 14
 
15 15
 PKG_SOURCE_PROTO:=git

+ 1
- 1
net/tgt/files/etc/init.d/tgt 查看文件

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