hifi-0.1.4.1: WiFi connection script generator

Safe HaskellNone
LanguageHaskell2010

Templating

Description

Handles the execution of 'wpa_*' commands as well as the template loading, compilation and substitution.

Synopsis

Documentation

createFiles :: FilePath -> Interface -> SSID -> Passphrase -> IO (FilePath, FilePath) Source #

createFiles creates both the script- and data-file for a FilePath, Interface, SSID and Passphrase. These filenames are then returned in a tuple so that they may be used to notify the user of their creation.