Parent Directory
|
Revision Log
New pump and dhcpcd helpers as pump now does everything it should - weeeeee
Added dhcp_eth0=nogateway option, generic to all dhcp clients. Fixes #98466
Added nosendhost dhcp option so users can request not to send their machines hostname by default. Fixes #98132
Minor tweaks to all dhcp modules - basically better quoting so that the eval calls work better pump can now be backgrounded Tweaked the dhcp helpers so that more code is shared A few tweaks to runscript.sh and rc-services.sh to avoid races
style updates to all modules
etc/{resolv,ntp,yp}.conf now link to /var/lib/net-scripts
dhcp helper module fixes dhcpcd-backgrounder renamed to dhcpcd-wrapper dhcpcd-wrapper applies dns_search_domains_* to /etc/resolv.conf fixes #94027 when used with dhcpcd-1.3.22_p4-r10 dhcpcd module now applies route metric if possible
added #!/bin/bash or #!/bin/sh to modules and helpers so they now get nice syntax highlighting and indenting
removed ${devnull} from net.lo and net-script modules updated all modules not to re-direct stderr where appropriate iwconfig and wpa_supplicant now save their current ESSID via save_options and reload it in their pre_stops so that ${ESSID} and ${ESSIDVAR} can be used in users custom postdown functions
added a bash_variable to functions.sh which converts the given string into a variable that bash can use - fixes #88175 net scripts can only launch if we're not in ${BOOTLEVEL}
changed from $( cat ${file} ) to $( < ${file ) in net-scripts fixed ChangeLog corruption rc-daemon.sh now works with the env program
Updated copyright headers
STYLE fixes to many net-scripts modules Removed hardcoded Version and replaced with cvs $Header:
added "noop" config parameter which means take no action if the interface is up and has an address configured, otherwise continue addresses are now removed when starting an interface - fixes #77111
dhcpcd and udhcpc now run via the eval statement so quotes can be used in options. Fixes #74053 - thanks to Evan Buswell
added rc-script statuses "starting" and "inactive" dhcpcd, udhcpc and dhclient now support backgrounding - fixes #52975
macchanger defaults to setting the interface down, and then trying with it up - fixes #71929 macchanger converts mac_${IFACE} to lowercase - fixes #73549 iproute2 now configures the interface up everytime we add an address removed "need interface" from all modules depends as net.lo requires interface anyway
wpa_supplicant module added config-system now creates files as .tmp instead of .new and loads the wpa_supplicant module if needed ifconfig now addes aliases to devices other than eth0 dhcpcd, dhclient, pump and udhcpc now expose the dhcp_${IFACE} variable instead of the old peer_dns_${IFACE}, peer_ntp_${IFACE}, peer_nis_${IFACE} ones
Moved generic dhcp options into a space seperated string
Added option dhcp_release to specify if we release the DHCP lease or not defaults to no Changed variables peer_* to dhcp_* dhclient and udhcpc now specify a pidfile
Ensure all net-scripts modules depend on interface_variable function where applicable
iproute2 does not need to create dummy interfaces for aliases unlike ifconfig so we no longer do this We now bring down all aliases and addresses properly Split off some functions from net.lo into helpers.d/functions so that our DHCP helper scripts can use them too :) Deprecated interface specific setup in favour of a generic config macchanger brings interface up now - fixes #71929 DHCP over VLAN now works - fixes #71860 Disabled modified function checking as it's far too expensive on CPU and still isn't 100% reliable When specifing a module that isn't emerged, you now get an error telling you what to emerge Removed -p option from the diff call used for function removal
tests for hostname (none) when sending hostname via dhcpcd, udhpc or pump udhcpc now does correct signal handling so we can release leases and terminate cleanly Improved pump process detection Rewrote udhcpc helper scripts around udhcpc and wrapped dhclient to udhcpc scripts. This makes things much saner as udhcpc is much saner - also fixed essidnet and ipv6 local link for them.
Fixed iface variable in dhcp modules for vlans Changed get_device to interface_device Changed get_type to interface_type Added vlan configuration options and documented them in net.example Fixed bridge configuration handling Removed _get_vlans from iproute2 and ifconfig as vlan now does it itself
net-scripts/net.modules.d/pump - fixed setting ntp servers net-scripts/net.modules.d/dhcpcd - fixed stopping function Fixed last ChangeLog date to today and not tomorrow :/
*** empty log message ***
*** empty log message ***
Install net.modules.d to /lib/rcscripts instead of /etc so we don't have to deal with CONFIG_PROTECT Fix diff code in modules_load so it can identify which functions have been modified Fix fallback mechanism in iface_start so that it works correctly and doesn't report a bogus error message when trying the fallback Get rid of need_begin trickery in iface_stop Simplify eend processing in dhcp modules Implement eindent, eoutdent, esetdent in functions.sh and adjust net-scripts to use them. Re-write einfo, ewarn, eerror, ebegin, eend, ewend to use RC_INDENTATION and to work better on serial terminals Remove conf.d/net.ppp0 since that is provided by net-dialup/ppp
Update to net-scripts 1.0.2 from Roy
fix whitespacing
update to version 1.0 of net-scripts from Roy add default conf.d/net which is blank except for a short comment referring to net.example
update to 0.6.4 from Roy
Update to 0.6.3 from Roy
update to net-scripts-0.6.2
- changes from UberLord, in particular before/after dep processing
- Get rid of "interface" and "interface_provides" functions, instead dynamically generate class functions instead when modules are loaded. - Double-check when loading modules to make sure that functions aren't replaced - Sanity check user-specified module list to make sure none conflict - Get ride of IFMODULE
version 0.5.0 of Roy "UberLord" Marple's modular networking scripts
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.
ViewVC Help | |
Powered by ViewVC 1.1.20 |