|
@@ -169,8 +169,8 @@ func readHandler(filename string, rf io.ReaderFrom) error {
|
|
|
//Declaring cli flags
|
|
//Declaring cli flags
|
|
|
func init() {
|
|
func init() {
|
|
|
flag.StringVar(&workdir, "workdir", "/tftpboot", "Set working directory")
|
|
flag.StringVar(&workdir, "workdir", "/tftpboot", "Set working directory")
|
|
|
- flag.StringVar(&sepTeplateFilePath, "sep-template-file", "./sep-cisco.cnf.xml.tpl", "Set path to sep template file")
|
|
|
|
|
- flag.StringVar(&freepbxConf, "freepbx-conf", "/etc/freepbx.conf", "Set path to freepbx db connection config file")
|
|
|
|
|
|
|
+ flag.StringVar(&sepTeplateFilePath, "sep_template_file", "./sep-cisco.cnf.xml.tpl", "Set path to sep template file")
|
|
|
|
|
+ flag.StringVar(&freepbxConf, "freepbx_conf", "/etc/freepbx.conf", "Set path to freepbx db connection config file")
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
func main() {
|
|
func main() {
|