func (r *CommandRunner) StartHostapd(configFilePath string) error {
	log.Infof("Starting hostapd process with config file: %v...", configFilePath)
	if _, err := r.ExecCommand(false, "hostapd", configFilePath); err != nil {
		return err
	}
	log.Infof("Started a hostapd with config file: %v.", configFilePath)
	return nil
}
StartHostapd starts a hostapd process link to the given WLAN interface.
package syscmd
import (
	log "github.com/golang/glog"
)