add shell config
This commit is contained in:
parent
85abccf14a
commit
f22890bb66
@ -87,6 +87,7 @@ func initConfig() {
|
|||||||
viper.Set("version", gitVersion)
|
viper.Set("version", gitVersion)
|
||||||
viper.SetDefault("deployment", "prod")
|
viper.SetDefault("deployment", "prod")
|
||||||
viper.SetDefault("loglevel", "info")
|
viper.SetDefault("loglevel", "info")
|
||||||
|
viper.SetDefault("kiosk_cmd_shell", "bash")
|
||||||
viper.SetEnvPrefix("HASS")
|
viper.SetEnvPrefix("HASS")
|
||||||
viper.AutomaticEnv()
|
viper.AutomaticEnv()
|
||||||
if cfgFile != "" {
|
if cfgFile != "" {
|
||||||
@ -108,6 +109,7 @@ func initConfig() {
|
|||||||
"mqtt_broker_user",
|
"mqtt_broker_user",
|
||||||
"mqtt_broker_password",
|
"mqtt_broker_password",
|
||||||
"mqtt_presence_topic",
|
"mqtt_presence_topic",
|
||||||
|
"kiosk_cmd_shell",
|
||||||
"kiosk_cmd_screen_on",
|
"kiosk_cmd_screen_on",
|
||||||
"kiosk_cmd_screen_off",
|
"kiosk_cmd_screen_off",
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user