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.gerae...@gmail.com> --- Index: vblade.init =================================================================== --- vblade.init (revision 25443) +++ vblade.init (working copy) @@ -9,7 +9,8 @@ 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() { Index: vblade.config =================================================================== --- vblade.config (revision 25443) +++ vblade.config (working copy) @@ -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' # _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel