[package] vblade: change config to read-only
This patch changes the default vbladed config to read-only. It circumvents data corruption in case of the accidental simultaneous rw mount. Signed-off-by: Paul Geraedts <p.f.j.geraedts@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/packages@25579 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
c926b187c1
commit
a4ee9bd483
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=vblade
|
||||
PKG_VERSION:=20
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
|
||||
PKG_SOURCE_URL:=@SF/aoetools/vblade
|
||||
|
@ -3,10 +3,12 @@
|
||||
# option slot '1'
|
||||
# option netif 'eth0'
|
||||
# option device '/dev/sda'
|
||||
# option options '-r'
|
||||
#
|
||||
#config vblade
|
||||
# option shelf '1'
|
||||
# option slot '2'
|
||||
# option netif 'eth0'
|
||||
# option device '/dev/sdb'
|
||||
# option options '-r'
|
||||
#
|
||||
|
@ -9,7 +9,8 @@ start_service() {
|
||||
config_get slot "$section" slot
|
||||
config_get netif "$section" netif
|
||||
config_get device "$section" device
|
||||
vbladed $shelf $slot $netif $device
|
||||
config_get options "$section" options
|
||||
vbladed $options $shelf $slot $netif $device
|
||||
}
|
||||
|
||||
start() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user