Wiki:help/howtos/development/developer_information/package_development_start/example_config_handling

Here some examples using the tools for configuration handling to explain the behavior of the available commands.

Example to disable the freetz http web-interface (web-server):

  1. vi /mod/etc/conf/mod.cfg
  2. modconf save mod
  3. modsave flash

Change MOD_HTTPD=’yes’ to MOD_HTTPD=’no’
will update/ (create if not existing) /tmp/flash/mod.diff
saves content of /tmp/flash/ to tffs, including the new mod.diff file

or use a shortcut for step 2 and 3:

  1. modsave

This will update all /tmp/flash/<package>.diff files, and save resulting content of /tmp/flash/ to tffs

The above steps is to give examples of the available commands.

To more comfortably obtain the same results:

  1. modconf set mod MOD_HTTPD=no
  2. modconf save mod
  3. modsave flash

or use a shortcut for step 2 and 3:

  1. modsave