diff options
author | Nick Shipp <nick@shipp.ninja> | 2017-01-29 01:55:03 -0500 |
---|---|---|
committer | Nick Shipp <nick@shipp.ninja> | 2017-01-29 01:55:03 -0500 |
commit | 51bdf9b16594c4ad0c5e793583cfa0c12c61583c (patch) | |
tree | 9b58bff4f843f90c0a37c3d0d5a372128717e0d1 /sinit.c | |
parent | 7ebbd64b16a8cd7d94961b34a394a511c08f0350 (diff) |
Depend on dhcpcd starting wpa_supplicant
Diffstat (limited to 'sinit.c')
-rw-r--r-- | sinit.c | 9 |
1 files changed, 1 insertions, 8 deletions
@@ -7,7 +7,6 @@ #include <fcntl.h> #include <grp.h> -#include <err.h> #include <signal.h> #include <stdio.h> #include <stdlib.h> @@ -174,19 +173,13 @@ mounts(void) static_mounts[i].flags, static_mounts[i].data) != 0) { - warn("mount %s", static_mounts[i].target); + perror(static_mounts[i].target); } } } int -wpa_started(void) -{ - return ! access("/var/run/wpa_supplicant/wlan0", O_RDONLY); -} - -int udev_settled(void) { struct stat info; |