diff options
-rw-r--r-- | Makefile | 2 | ||||
-rwxr-xr-x | contrib/pm-utils.handler | 2 | ||||
-rw-r--r-- | docs/ethernet | 2 | ||||
-rw-r--r-- | examples/ethernet-dhcp | 3 |
4 files changed, 7 insertions, 2 deletions
@@ -2,6 +2,8 @@ DESTDIR= VERSION=2.6 VPATH = doc +.PHONY: install docs + install: install -d $(DESTDIR)/usr/lib/network/{connections,hooks} \ $(DESTDIR)/etc/network.d/{examples,hooks,interfaces} \ diff --git a/contrib/pm-utils.handler b/contrib/pm-utils.handler index 80f2d4c..b8cb568 100755 --- a/contrib/pm-utils.handler +++ b/contrib/pm-utils.handler @@ -32,7 +32,7 @@ case "$1" in fi ;; thaw|resume) - if "$CONN_DIR/wireless" query wlan0 enabled; then + if [ -f "$STATE_DIR/interface/wlan0" ]; then report_notify "resuming all interfaces..." auto_resume wlan0 else diff --git a/docs/ethernet b/docs/ethernet index 09877c8..b328660 100644 --- a/docs/ethernet +++ b/docs/ethernet @@ -26,7 +26,7 @@ IFOPTS (deprecated, requires IP of 'static') : Arguments to pass to 'ifconfig'. This allows you to use the syntax for the older 'ifconfig' tool. Retained for compatability. ## IPv6 options IP6 (required for IPv6) -: Either 'dhcp', 'dhcp-noaddr', 'stateless', 'static'. +: Either 'dhcp', 'dhcp-noaddr', 'stateless', 'static'. Leave unset to disable IPv6. ADDR6 (required for IP6=static) : An array of IPv6 addresses: prefix length may be specified via '1234:bcd::11/64' syntax. GATEWAY6 (for IP6=static) diff --git a/examples/ethernet-dhcp b/examples/ethernet-dhcp index 7b0a1b5..0719632 100644 --- a/examples/ethernet-dhcp +++ b/examples/ethernet-dhcp @@ -4,3 +4,6 @@ INTERFACE='eth0' IP='dhcp' ## for DHCPv6 #IP6='dhcp' +## for IPv6 autoconfiguration +#IP6='stateless' + |