Changeset 3232 in MondoRescue for branches/3.2/mindi-busybox/examples


Ignore:
Timestamp:
Jan 1, 2014, 12:47:38 AM (10 years ago)
Author:
Bruno Cornec
Message:
  • Update mindi-busybox to 1.21.1
Location:
branches/3.2/mindi-busybox/examples
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mindi-busybox/examples/depmod.pl

    r2725 r3232  
    200200                             or die "cannot open $basedir/modules.dep: $!";
    201201}
    202 my $kseries = $basedir =~ m,/2\.6\.[^/]*, ? '2.6' : '2.4';
     202my $kseries = $basedir =~ m,/2\.4\.[^/]*, ? '2.4' : 'others';
    203203
    204204foreach my $module ( keys %$mod ) {
  • branches/3.2/mindi-busybox/examples/mdev.conf

    r2725 r3232  
    88#
    99# Syntax:
    10 # %s %d:%d %s
    11 # devicename_regex user:group mode
     10# [-]devicename_regex user:group mode [=path]|[>path]|[!] [@|$|*cmd args...]
     11# [-]$ENVVAR=regex    user:group mode [=path]|[>path]|[!] [@|$|*cmd args...]
     12# [-]@maj,min[-min2]  user:group mode [=path]|[>path]|[!] [@|$|*cmd args...]
     13#
     14# [-]: do not stop on this match, continue reading mdev.conf
     15# =: move, >: move and create a symlink
     16# !: do not create device node
     17# @|$|*: run@cmd if $ACTION=add,  $cmd if $ACTION=remove, *cmd in all cases
    1218
    1319null        0:0 666
  • branches/3.2/mindi-busybox/examples/mdev_fat.conf

    r2725 r3232  
    88#
    99# Syntax:
    10 # [-]devicename_regex user:group mode [>|=path] [@|$|*cmd args...]
     10# [-]devicename_regex user:group mode [=path]|[>path]|[!] [@|$|*cmd args...]
     11# [-]$ENVVAR=regex    user:group mode [=path]|[>path]|[!] [@|$|*cmd args...]
     12# [-]@maj,min[-min2]  user:group mode [=path]|[>path]|[!] [@|$|*cmd args...]
    1113#
     14# [-]: do not stop on this match, continue reading mdev.conf
    1215# =: move, >: move and create a symlink
    13 # @|$|*: run $cmd on delete, @cmd on create, *cmd on both
     16# !: do not create device node
     17# @|$|*: run cmd if $ACTION=remove, @cmd if $ACTION=add, *cmd in all cases
    1418
    1519# support module loading on hotplug
     
    5054
    5155# net devices
    52 -net/.*     root:root 600 @nameif
    5356tun[0-9]*   root:root 600 =net/
    5457tap[0-9]*   root:root 600 =net/
  • branches/3.2/mindi-busybox/examples/udhcp/udhcpd.conf

    r2725 r3232  
    1515#max_leases 254
    1616
    17 # The time period at which udhcpd will write out a dhcpd.leases
    18 # file. If this is 0, udhcpd will never automatically write a
    19 # lease file. Specified in seconds.
    20 #auto_time  7200
    21 
    2217# The amount of time that an IP will be reserved (leased to nobody)
    2318# if a DHCP decline message is received (seconds)
     
    3530#min_lease  60
    3631
     32# The location of the pid file
     33#pidfile    /var/run/udhcpd.pid
     34
    3735# The location of the leases file
    3836#lease_file /var/lib/misc/udhcpd.leases
    3937
    40 # The location of the pid file
    41 #pidfile    /var/run/udhcpd.pid
     38# The time period at which udhcpd will write out leases file.
     39# If this is 0, udhcpd will never automatically write leases file.
     40# Specified in seconds.
     41#auto_time  7200
    4242
    4343# Every time udhcpd writes a leases file, the below script will be called
     
    6969option  domain  local
    7070option  lease   864000      # default: 10 days
     71option  msstaticroutes  10.0.0.0/8 10.127.0.1       # single static route
     72option  staticroutes    10.0.0.0/8 10.127.0.1, 10.11.12.0/24 10.11.12.1
    7173# Arbitrary option in hex form:
    7274option  0x08    01020304    # option 8: "cookie server IP addr: 1.2.3.4"
     
    9193#opt serverid   IP      # default: server's IP
    9294#opt message    STRING      # error message (udhcpd sends it on success too)
     95#opt vlanid     NUM     # 802.1P VLAN ID
     96#opt vlanpriority NUM       # 802.1Q VLAN priority
    9397# Options specifying server(s)
    9498#opt dns        IP_LIST
     
    98102#opt lprsrv     IP_LIST
    99103#opt swapsrv    IP
     104# Options specifying routes
     105#opt routes     IP_PAIR_LIST
     106#opt staticroutes   STATIC_ROUTES # RFC 3442 classless static route option
     107#opt msstaticroutes STATIC_ROUTES # same, using MS option number
    100108# Obsolete options, no longer supported
    101109#opt logsrv     IP_LIST # 704/UDP log server (not syslog!)
     
    103111#opt cookiesrv  IP_LIST # RFC 865 "quote of the day" server, rarely (never?) used
    104112#opt timesrv    IP_LIST # RFC 868 time server, rarely (never?) used
     113# TODO: in development
     114#opt userclass  STRING      # RFC 3004. set of LASCII strings. "I am a printer" etc
     115#opt sipserv    STRING LIST # RFC 3361. flag byte, then: 0: domain names, 1: IP addrs
  • branches/3.2/mindi-busybox/examples/zcip.script

    r821 r3232  
    2121    fi
    2222    # remember $ip for $interface, to use on restart
    23     if [ "x$IP" != x -a -w "$IP.$interface" ]
     23    if [ "x$ip" != x -a -w "$ip.$interface" ]
    2424    then
    25         echo $ip > "$IP.$interface"
     25        echo $ip > "$ip.$interface"
    2626    fi
    2727    exec ip address add dev $interface \
Note: See TracChangeset for help on using the changeset viewer.