Created
July 25, 2017 21:10
-
-
Save serpent213/ec70105e1cf4a61c86ad8c6e565f0b55 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def init_kernel_modules() do | |
Enum.each(@kernel_modules, & System.cmd("modprobe", [&1])) | |
end | |
def init_network() do | |
opts = Application.get_env(:brainz, @interface) | |
Nerves.InterimWiFi.setup(@interface, opts) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment