Changeset 25579


Ignore:
Timestamp:
2011-02-19T13:44:05+01:00 (5 years ago)
Author:
florian
Message:

[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@…>

Location:
packages/net/vblade
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • packages/net/vblade/Makefile

    r22429 r25579  
    1010PKG_NAME:=vblade 
    1111PKG_VERSION:=20 
    12 PKG_RELEASE:=1 
     12PKG_RELEASE:=2 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz 
  • packages/net/vblade/files/vblade.config

    r22429 r25579  
    44#       option netif            'eth0' 
    55#       option device           '/dev/sda' 
     6#       option options          '-r' 
    67# 
    78#config vblade 
     
    1011#       option netif            'eth0' 
    1112#       option device           '/dev/sdb' 
     13#       option options          '-r' 
    1214# 
  • packages/net/vblade/files/vblade.init

    r22429 r25579  
    1010        config_get netif "$section" netif 
    1111        config_get device "$section" device 
    12         vbladed $shelf $slot $netif $device 
     12        config_get options "$section" options 
     13        vbladed $options $shelf $slot $netif $device 
    1314} 
    1415 
Note: See TracChangeset for help on using the changeset viewer.