Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
PKG_NAME:=tgt
PKG_VERSION:=1.0.53
PKG_REV:=9764e0afd9a7115e356fc85569a780f9003c4eac
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_USE_MIPS16:=0
PKG_SOURCE_PROTO:=git
validate_lun_section() {
uci_validate_section tgt lun $1 \
- 'device:file' \
+ 'device:or("file", "device")' \
'type:or("disk", "cd", "pt"):disk' \
'bstype:or("rdwr", "aio", "sg"):rdwr' \
'sync:bool:0' \
$tgtadm --mode sys --op delete
}
+reload_service() {
+ stop_service
+ start_service
+}
+
show() {
$tgtadm --mode target --op show
}