wpa_supplicant: use install instead of mkdir for log dir creation

This commit is contained in:
bougyman 2015-03-26 15:41:36 -05:00
parent 62ae6738b5
commit cb4e71cd86

View file

@ -1,4 +1,4 @@
#!/bin/sh
[ -d /var/log/wpa_supplicant ] || mkdir -p /var/log/wpa_supplicant
install -D -d -m0750 -o root -g wheel /var/log/wpa_supplicant
echo "Logging to /var/log/wpa_supplicant/current"
exec chpst -u root:daemon svlogd -t /var/log/wpa_supplicant