diff --git a/cmd/root.go b/cmd/root.go index 7b748f1..a779e31 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -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", }