wok rev 514

Busybox: add conf file /etc/dnsd.conf and /etc/udhcpd.conf
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 08 11:23:56 2008 +0000 (2008-04-08)
parents e67f0b59c2a6
children df5413de00c0
files busybox/receipt busybox/stuff/dnsd.conf busybox/stuff/udhcpd.conf
line diff
     1.1 --- a/busybox/receipt	Tue Apr 08 09:22:24 2008 +0000
     1.2 +++ b/busybox/receipt	Tue Apr 08 11:23:56 2008 +0000
     1.3 @@ -29,9 +29,11 @@
     1.4  {
     1.5      cp -a $src/_install/* $fs
     1.6      mkdir $fs/etc
     1.7 -    # Busybox config file.
     1.8 +    # Busybox config files.
     1.9      cp stuff/busybox.conf $fs/etc
    1.10      chmod 600 $fs/etc/busybox.conf
    1.11 +    cp stuff/dnsd.conf $fs/etc
    1.12 +    cp stuff/udhcpd.conf $fs/etc
    1.13      cd $fs
    1.14      rm linuxrc
    1.15      ln -s bin/busybox init
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/busybox/stuff/dnsd.conf	Tue Apr 08 11:23:56 2008 +0000
     2.3 @@ -0,0 +1,5 @@
     2.4 +# /etc/dnsd.conf: SliTaz DNS server configuration.
     2.5 +#
     2.6 +
     2.7 +slitaz 192.168.0.6
     2.8 +gateway 192.168.0.1
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/busybox/stuff/udhcpd.conf	Tue Apr 08 11:23:56 2008 +0000
     3.3 @@ -0,0 +1,68 @@
     3.4 +# /etc/udhcpd.conf: SliTaz DHCP server configuration.
     3.5 +#
     3.6 +
     3.7 +# The start and end of the IP lease block
     3.8 +start           192.168.0.20    #default: 192.168.0.20
     3.9 +end             192.168.0.254   #default: 192.168.0.254
    3.10 +
    3.11 +# The interface that udhcpd will use
    3.12 +interface       eth0            #default: eth0
    3.13 +
    3.14 +# The maximum number of leases (includes addressesd reserved
    3.15 +# by OFFER's, DECLINE's, and ARP conficts
    3.16 +#max_leases     254             #default: 254
    3.17 +
    3.18 +# The amount of time that an IP will be reserved (leased) for if a
    3.19 +# DHCP decline message is received (seconds).
    3.20 +#decline_time   3600            #default: 3600 (1 hour)
    3.21 +
    3.22 +# The amount of time that an IP will be reserved (leased) for if an
    3.23 +# ARP conflct occurs. (seconds
    3.24 +#conflict_time  3600            #default: 3600 (1 hour)
    3.25 +
    3.26 +# How long an offered address is reserved (leased) in seconds
    3.27 +#offer_time     60              #default: 60 (1 minute)
    3.28 +
    3.29 +# If a lease to be given is below this value, the full lease time is
    3.30 +# instead used (seconds).
    3.31 +#min_lease      60              #defult: 60
    3.32 +
    3.33 +# The location of the leases file
    3.34 +lease_file     /var/lib/udhcpd.leases     #default: /var/lib/misc/udhcpd.leases
    3.35 +
    3.36 +# The location of the pid file
    3.37 +pidfile        /var/run/udhcpd.pid     #default: /var/run/udhcpd.pid
    3.38 +
    3.39 +# The remainer of options are DHCP options and can be specifed with the
    3.40 +# keyword 'opt' or 'option'. If an option can take multiple items, such
    3.41 +# as the dns option, they can be listed on the same line, or multiple
    3.42 +# lines. The only option with a default is 'lease'.
    3.43 +
    3.44 +#Examples
    3.45 +#opt     dns     192.168.10.2 192.168.10.10
    3.46 +option  subnet  255.255.255.0
    3.47 +#option  dns     129.219.13.81   # appened to above DNS servers for a total of 3
    3.48 +option  lease   864000          # 10 days of seconds
    3.49 +
    3.50 +# Currently supported options
    3.51 +#opt subnet
    3.52 +#opt timezone
    3.53 +#opt router
    3.54 +#opt timesrv
    3.55 +#opt namesrv
    3.56 +#opt dns
    3.57 +#opt logsrv
    3.58 +#opt cookiesrv
    3.59 +#opt lprsrv
    3.60 +#opt bootsize
    3.61 +#opt domain
    3.62 +#opt swapsrv
    3.63 +#opt rootpath
    3.64 +#opt ipttl
    3.65 +#opt mtu
    3.66 +#opt broadcast
    3.67 +#opt wins
    3.68 +#opt lease
    3.69 +#opt ntpsrv
    3.70 +#opt tftp
    3.71 +#opt bootfile