Changeset 4602

Show
Ignore:
Timestamp:
05/25/09 11:31:08 (4 years ago)
Author:
Cyrus
Message:

Fix: Mountpoints cannot be disabled

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • luci/trunk/modules/admin-full/luasrc/model/cbi/admin_system/fstab.lua

    r3328 r4602  
    6262mount.template = "cbi/tblsection" 
    6363 
    64 mount:option(Flag, "enabled", translate("enable")) 
     64mount:option(Flag, "enabled", translate("enable")).rmempty = false 
    6565dev = mount:option(Value, "device", translate("device"), translate("a_s_fstab_device1")) 
    6666for i, d in ipairs(devices) do 
     
    7878swap.template = "cbi/tblsection" 
    7979 
    80 swap:option(Flag, "enabled", translate("enable")) 
     80swap:option(Flag, "enabled", translate("enable")).rmempty = false 
    8181dev = swap:option(Value, "device", translate("device"), translate("a_s_fstab_device1")) 
    8282for i, d in ipairs(devices) do