diff options
author | Jouke Witteveen <j.witteveen@gmail.com> | 2012-04-11 19:42:13 +0200 |
---|---|---|
committer | Jouke Witteveen <j.witteveen@gmail.com> | 2012-04-11 19:42:13 +0200 |
commit | d20dd39fa08da3ef262c95ece5548c952c257bf7 (patch) | |
tree | 116d651dc021d48fdbd0bf7cf63c1e812b62af79 | |
parent | e9a85e651191aa9152c46ad5b7b75c4b38e77394 (diff) | |
download | netctl-d20dd39fa08da3ef262c95ece5548c952c257bf7.tar.gz netctl-d20dd39fa08da3ef262c95ece5548c952c257bf7.tar.xz |
Remove obsolete references to /etc/rc.conf
Configuration is done through /etc/conf.d/netcfg.
Compatibility with configuration through /etc/rc.conf is dropped.
-rwxr-xr-x | contrib/pm-utils.handler | 1 | ||||
-rwxr-xr-x | scripts/netcfg-wpa_actiond | 1 | ||||
-rw-r--r-- | src/network | 3 | ||||
-rw-r--r-- | systemd/net-auto-wired.service | 1 | ||||
-rw-r--r-- | systemd/net-auto-wireless.service | 1 |
5 files changed, 1 insertions, 6 deletions
diff --git a/contrib/pm-utils.handler b/contrib/pm-utils.handler index 79cad6a..3db87a0 100755 --- a/contrib/pm-utils.handler +++ b/contrib/pm-utils.handler @@ -4,7 +4,6 @@ [[ -f /usr/lib/network/network ]] || exit $NA . /usr/lib/network/network -. /etc/rc.conf . /etc/conf.d/netcfg WIRELESS_INTERFACE=${WIRELESS_INTERFACE:-wlan0} diff --git a/scripts/netcfg-wpa_actiond b/scripts/netcfg-wpa_actiond index 48bf48a..72f3231 100755 --- a/scripts/netcfg-wpa_actiond +++ b/scripts/netcfg-wpa_actiond @@ -2,7 +2,6 @@ . /usr/lib/network/network . "$SUBR_DIR/8021x" . "$SUBR_DIR/rfkill" -. /etc/rc.conf . /etc/conf.d/netcfg AUTOWIFI="/usr/sbin/wpa_actiond -p /run/wpa_supplicant" diff --git a/src/network b/src/network index 9bdd720..ce5e962 100644 --- a/src/network +++ b/src/network @@ -113,9 +113,8 @@ profile_up() exit 1 fi - # NETWORKS_EXCLUSIVE, rc.conf: Profiles are globally mutually exclusive # EXCLUSIVE, network.d/profile: Individual profile is mutually exclusive - if checkyesno "$NETWORKS_EXCLUSIVE" || checkyesno "$EXCLUSIVE"; then + if checkyesno "$EXCLUSIVE"; then all_down fi diff --git a/systemd/net-auto-wired.service b/systemd/net-auto-wired.service index 321a62e..f611a89 100644 --- a/systemd/net-auto-wired.service +++ b/systemd/net-auto-wired.service @@ -3,7 +3,6 @@ Description=Provides automatic netcfg wired connection Before=network.target [Service] -EnvironmentFile=/etc/rc.conf EnvironmentFile=/etc/conf.d/netcfg EnvironmentFile=-/etc/ifplugd/ifplugd.conf ExecStart=-/usr/sbin/ifplugd -i $WIRED_INTERFACE -r /etc/ifplugd/netcfg.action -fIn -u0 -d10 diff --git a/systemd/net-auto-wireless.service b/systemd/net-auto-wireless.service index 6f7a8c0..c2ea4f8 100644 --- a/systemd/net-auto-wireless.service +++ b/systemd/net-auto-wireless.service @@ -3,7 +3,6 @@ Description=Provides automatic netcfg wireless connection Before=network.target [Service] -EnvironmentFile=/etc/rc.conf EnvironmentFile=/etc/conf.d/netcfg ExecStart=/usr/bin/netcfg-wpa_actiond $WIRELESS_INTERFACE ExecStop=/usr/bin/netcfg-wpa_actiond stop $WIRELESS_INTERFACE |