add shell config

This commit is contained in:
Mike Bloy 2024-09-29 13:07:24 -05:00
parent 85abccf14a
commit f22890bb66

View File

@ -87,6 +87,7 @@ func initConfig() {
viper.Set("version", gitVersion)
viper.SetDefault("deployment", "prod")
viper.SetDefault("loglevel", "info")
viper.SetDefault("kiosk_cmd_shell", "bash")
viper.SetEnvPrefix("HASS")
viper.AutomaticEnv()
if cfgFile != "" {
@ -108,6 +109,7 @@ func initConfig() {
"mqtt_broker_user",
"mqtt_broker_password",
"mqtt_presence_topic",
"kiosk_cmd_shell",
"kiosk_cmd_screen_on",
"kiosk_cmd_screen_off",
}