Changeset 3232 in MondoRescue for branches/3.2/mindi-busybox/examples
- Timestamp:
- Jan 1, 2014, 12:47:38 AM (10 years ago)
- Location:
- branches/3.2/mindi-busybox/examples
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2/mindi-busybox/examples/depmod.pl
r2725 r3232 200 200 or die "cannot open $basedir/modules.dep: $!"; 201 201 } 202 my $kseries = $basedir =~ m,/2\. 6\.[^/]*, ? '2.6' : '2.4';202 my $kseries = $basedir =~ m,/2\.4\.[^/]*, ? '2.4' : 'others'; 203 203 204 204 foreach my $module ( keys %$mod ) { -
branches/3.2/mindi-busybox/examples/mdev.conf
r2725 r3232 8 8 # 9 9 # 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 12 18 13 19 null 0:0 666 -
branches/3.2/mindi-busybox/examples/mdev_fat.conf
r2725 r3232 8 8 # 9 9 # 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...] 11 13 # 14 # [-]: do not stop on this match, continue reading mdev.conf 12 15 # =: 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 14 18 15 19 # support module loading on hotplug … … 50 54 51 55 # net devices 52 -net/.* root:root 600 @nameif53 56 tun[0-9]* root:root 600 =net/ 54 57 tap[0-9]* root:root 600 =net/ -
branches/3.2/mindi-busybox/examples/udhcp/udhcpd.conf
r2725 r3232 15 15 #max_leases 254 16 16 17 # The time period at which udhcpd will write out a dhcpd.leases18 # file. If this is 0, udhcpd will never automatically write a19 # lease file. Specified in seconds.20 #auto_time 720021 22 17 # The amount of time that an IP will be reserved (leased to nobody) 23 18 # if a DHCP decline message is received (seconds) … … 35 30 #min_lease 60 36 31 32 # The location of the pid file 33 #pidfile /var/run/udhcpd.pid 34 37 35 # The location of the leases file 38 36 #lease_file /var/lib/misc/udhcpd.leases 39 37 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 42 42 43 43 # Every time udhcpd writes a leases file, the below script will be called … … 69 69 option domain local 70 70 option lease 864000 # default: 10 days 71 option msstaticroutes 10.0.0.0/8 10.127.0.1 # single static route 72 option staticroutes 10.0.0.0/8 10.127.0.1, 10.11.12.0/24 10.11.12.1 71 73 # Arbitrary option in hex form: 72 74 option 0x08 01020304 # option 8: "cookie server IP addr: 1.2.3.4" … … 91 93 #opt serverid IP # default: server's IP 92 94 #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 93 97 # Options specifying server(s) 94 98 #opt dns IP_LIST … … 98 102 #opt lprsrv IP_LIST 99 103 #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 100 108 # Obsolete options, no longer supported 101 109 #opt logsrv IP_LIST # 704/UDP log server (not syslog!) … … 103 111 #opt cookiesrv IP_LIST # RFC 865 "quote of the day" server, rarely (never?) used 104 112 #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 21 21 fi 22 22 # 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" ] 24 24 then 25 echo $ip > "$ IP.$interface"25 echo $ip > "$ip.$interface" 26 26 fi 27 27 exec ip address add dev $interface \
Note:
See TracChangeset
for help on using the changeset viewer.