Browse Source

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

Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
lilik-openwrt-22.03
Maxim Storchak 10 years ago
parent
commit
4a299c8652
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      net/tgt/Makefile
  2. +1
    -1
      net/tgt/files/etc/init.d/tgt

+ 1
- 1
net/tgt/Makefile View 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


+ 1
- 1
net/tgt/files/etc/init.d/tgt 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' \


Loading…
Cancel
Save