OpenWrt Source Repository
Go to file
John Crispin b5bfb3534b dnsmasq: add host-specific lease time option for static hosts
Enable setting a host-specific lease time for static hosts.
The new option is called "leasetime" and the format is similar
as for the default lease time: e.g. 12h, 3d, infinite

Default lease time is used for all hosts for which there is
no host-specific definition.

The option is added to /etc/config/dhcp for the selected hosts:
  config host
        option name 'Nexus'
        option mac 'd8:50:66:55:59:7c'
        option ip '192.168.1.245'
        option leasetime '2h'

It gets appended to /var/etc/dnsmasq.conf like this:
  dhcp-host=d8:50:66:55:59:7c,192.168.1.245,Nexus,2h

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>

SVN-Revision: 48801
2016-02-26 09:13:03 +00:00
config build: don't add -fno-plt for ARC 2016-02-07 13:29:16 +00:00
docs build: Prevent more gzip timestamps 2015-07-14 09:57:45 +00:00
include kernel: update kernel 4.4 to version 4.4.3 2016-02-25 21:54:39 +00:00
package dnsmasq: add host-specific lease time option for static hosts 2016-02-26 09:13:03 +00:00
scripts scripts/strip-kmod.sh: remove a few extra sections to slightly reduce kernel module size 2016-02-01 13:33:33 +00:00
target ar71xx: Renamed Gainstrong MiniBox profile to Gainstrong (manufacturer) and updated copyright 2016-02-26 08:35:38 +00:00
toolchain toolchain/glibc: remove obsolete versions 2016-02-25 13:43:46 +00:00
tools ar71xx: Added support for TL-WA801NDv3 2016-02-12 08:30:28 +00:00
.gitattributes
.gitignore
BSDmakefile
Config.in
LICENSE
Makefile Makefile: set timezone to UTC 2016-01-28 22:42:18 +00:00
README
feeds.conf.default
rules.mk build: disable the use of -iremap for UML (#21851) 2016-02-13 22:23:32 +00:00

README

This is the buildsystem for the OpenWrt Linux distribution.

Please use "make menuconfig" to configure your appreciated
configuration for the toolchain and firmware.

You need to have installed gcc, binutils, bzip2, flex, python, perl, make,
find, grep, diff, unzip, gawk, getopt, subversion, libz-dev and libc headers.

Run "./scripts/feeds update -a" to get all the latest package definitions
defined in feeds.conf / feeds.conf.default respectively
and "./scripts/feeds install -a" to install symlinks of all of them into
package/feeds/.

Use "make menuconfig" to configure your image.

Simply running "make" will build your firmware.
It will download all sources, build the cross-compile toolchain, 
the kernel and all choosen applications.

You can use "scripts/flashing/flash.sh" for remotely updating your embedded
system via tftp.

The OpenWrt system is documented in docs/. You will need a LaTeX distribution
and the tex4ht package to build the documentation. Type "make -C docs/" to build it.

To build your own firmware you need to have access to a Linux, BSD or MacOSX system
(case-sensitive filesystem required). Cygwin will not be supported because of
the lack of case sensitiveness in the file system.


Sunshine!
	Your OpenWrt Project
	http://openwrt.org