aboutsummaryrefslogtreecommitdiff
path: root/init.d/net-online.in
AgeCommit message (Collapse)Author
2020-12-22net-online: fix process of symlinks in sysfsGaƫl PORTAY
The test `[ -h "${ifname}" ] && continue` skips the symlinks while it is the opposite that is the expected: ignoring files that are not symlinks. Fixes commit f42ec82f21f3760b829507344ad0ae761e1d59aa. This fixes #391.
2018-03-16net-online: always start after netWilliam Hubbs
X-Gentoo-Bug: 650600 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=650600
2018-01-05net-online: only process symbolic links in /sys/class/net3PO
The /sys/class/net directory contains files which are not symlinks if the system has bonded devices [1]. We should ignore these files. This fixes #196. [1] https://elkano.org/blog/manage-interface-bondings-sysfs-interface/
2017-12-12net-online: wait for ping_test_hostbell07
The script should wait till the ping host is available or timeout reached Closes : #179 Closes : #191
2017-12-12Do not use file tests in net-onlineWilliam Hubbs
https://unix.stackexchange.com/questions/252002/help-testing-special-file-in-sys-class-net This is for #189
2017-12-11net-online: clean up quoting and test for existenceWilliam Hubbs
This is for #178.
2017-12-11Gracefully handle unreadable /sys/class/net/dev/ nodesMarcel Greter
Fixes https://bugs.gentoo.org/629228 Fixes #189 Fixes #185 Fixes #178
2017-02-26net-online: typo fixWilliam Hubbs
2017-02-26net-online: updates to make the service more usableWilliam Hubbs
- switch from attempting to ping the default gateway to a host outside the local network, defaulting to google.com. - along with this, change the name of the variable that requests a ping test to include_ping_test so the meaning is more clear.
2016-11-03init.d/net-online: remove interfaces and timeout from local declarationsWilliam Hubbs
X-Gentoo-Bug: 598621 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=598621
2016-07-31init.d: initial service adjustments for docker supportWilliam Hubbs
Add -docker keyword to the same scripts that have -lxc keyword.
2015-12-21Convert OpenRC to a centralized copyright/license structureWilliam Hubbs
In the past, OpenRC was a hybrid of a centralized and file-scope license/copyright structure. I followed the instructions from the Software Freedom Law Center [1] to convert to a Centralized structure where possible, for easier future maintenance. [1] https://softwarefreedom.org/resources/2012/ManagingCopyrightInformation.html
2015-10-20Add net-online serviceWilliam Hubbs