wpa_supplicant: use install instead of mkdir for log dir creation
This commit is contained in:
parent
62ae6738b5
commit
cb4e71cd86
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue