From f22890bb66213a039b72afe597ff1e1bb2d78415 Mon Sep 17 00:00:00 2001 From: Mike Bloy Date: Sun, 29 Sep 2024 13:07:24 -0500 Subject: [PATCH] add shell config --- cmd/root.go | 2 ++ 1 file changed, 2 insertions(+) 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", }