Skip to content

Instantly share code, notes, and snippets.

@serpent213
Created July 25, 2017 21:10
Show Gist options
  • Save serpent213/ec70105e1cf4a61c86ad8c6e565f0b55 to your computer and use it in GitHub Desktop.
Save serpent213/ec70105e1cf4a61c86ad8c6e565f0b55 to your computer and use it in GitHub Desktop.
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