From 51bdf9b16594c4ad0c5e793583cfa0c12c61583c Mon Sep 17 00:00:00 2001 From: Nick Shipp Date: Sun, 29 Jan 2017 01:55:03 -0500 Subject: Depend on dhcpcd starting wpa_supplicant --- sinit.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'sinit.c') diff --git a/sinit.c b/sinit.c index 65dfa30..a99598a 100644 --- a/sinit.c +++ b/sinit.c @@ -7,7 +7,6 @@ #include #include -#include #include #include #include @@ -174,18 +173,12 @@ 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) { -- cgit v1.2.3-54-g00ecf