summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRémy Oudompheng <remy@archlinux.org>2011-07-09 08:26:57 +0200
committerRémy Oudompheng <remy@archlinux.org>2011-07-09 08:26:57 +0200
commitbc61ba90fc5e57b3fd0d20bd435dc0a02c8e37c8 (patch)
treecec70be13fd2bd0965c5837e8328e9df91de3cec /src
parent4ff803521951463582e4fc522c5965c05233883b (diff)
downloadnetctl-bc61ba90fc5e57b3fd0d20bd435dc0a02c8e37c8.tar.gz
netctl-bc61ba90fc5e57b3fd0d20bd435dc0a02c8e37c8.tar.xz
Fix infinite loop in symlinks (FS#25077)
Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
Diffstat (limited to 'src')
-rw-r--r--src/8021x1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/8021x b/src/8021x
index 0a39e82..8cdf0d5 100644
--- a/src/8021x
+++ b/src/8021x
@@ -169,6 +169,7 @@ make_wpa_config_file() {
# make empty tmp dir with correct permissions, rename it
check_make_state_dir
# create symlink for old compatibility
+ mkdir -p /run/wpa_supplicant
if [ ! -e /var/run/wpa_supplicant ]; then
ln -s /run/wpa_supplicant /var/run
fi