wpa_supplicant: use install instead of mkdir for log dir creation
This commit is contained in:
parent
62ae6738b5
commit
cb4e71cd86
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue