diff options
author | Jouke Witteveen <j.witteveen@gmail.com> | 2012-03-03 20:11:43 +0100 |
---|---|---|
committer | Jouke Witteveen <j.witteveen@gmail.com> | 2012-03-03 20:11:43 +0100 |
commit | 4ed88705b8ea1dae9adc109b71ef35624a9faccd (patch) | |
tree | 642f9faed4e9881925d0d59d9ef51a26d81fdcfd /src/8021x | |
parent | eed3f590c9db7cd9cd4d5fb4722fc7257a278ea6 (diff) | |
download | netctl-4ed88705b8ea1dae9adc109b71ef35624a9faccd.tar.gz netctl-4ed88705b8ea1dae9adc109b71ef35624a9faccd.tar.xz |
Remove deprecated code
Remove some code that should not be used anymore. A 2.7 release seems the right point for some minor interface breaking.
Diffstat (limited to 'src/8021x')
-rw-r--r-- | src/8021x | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -178,11 +178,7 @@ make_wpa_config_file() { # make empty tmp dir with correct permissions, rename it check_make_state_dir - # create symlink for old compatibility (Jouke: is this still needed?) mkdir -p /run/wpa_supplicant - if [[ ! -e /var/run/wpa_supplicant ]]; then - ln -s /run/wpa_supplicant /var/run - fi rm -rf "$WPA_CONF" mv -f "$(mktemp -d --tmpdir=$STATE_DIR)" "$WPA_CONF" || return 1 echo "ctrl_interface=/run/wpa_supplicant" >> "$WPA_CONF/wpa.conf" # we know $WPA_CONF now has no spaces, but it may have other nasty chars, so still needs to be quoted |