package/compcache: move configuration in submenu
[openwrt/svn-archive/archive.git] / package / compcache / Config.in
index 9904237edc6c52b8a697d7187111e6d99649d2a9..11a94d434205c19eda5088759801964bae9c308e 100644 (file)
@@ -1,15 +1,14 @@
-# compcache configuration
+menu "Configuration"
+       depends on PACKAGE_kmod-compcache
 
 config COMPCACHE_ENABLE
        bool "enabled on boot"
        default n
-       depends on PACKAGE_kmod-compcache
        help
          Enables compressed ram swap devices.
 
 config COMPCACHE_RAM_REPORTED
        string "swap space reported to kernel in kb"
-       depends on PACKAGE_kmod-compcache
        default "2048"
        help
          This is the amount of memory that will be reported 
@@ -21,10 +20,10 @@ config COMPCACHE_RAM_REPORTED
 
 config COMPCACHE_BACKUP_DEV
        string "Backup device for compcache"
-       depends on PACKAGE_kmod-compcache
        default ""
        help
          Compcache will use this as a backup device for swap.
          Example:
                 /dev/sda5
 
+endmenu