Small changes
authorAndrew DeFaria <A.DeFaria@cpanel.net>
Sun, 11 Dec 2022 17:42:00 +0000 (09:42 -0800)
committerAndrew DeFaria <A.DeFaria@cpanel.net>
Sun, 11 Dec 2022 17:42:00 +0000 (09:42 -0800)
bin/shh
etc/cleantmp.conf
rc/sshconfig

diff --git a/bin/shh b/bin/shh
index 7e82eba..c5df1ed 100755 (executable)
--- a/bin/shh
+++ b/bin/shh
@@ -1,5 +1,4 @@
 #!/bin/bash
-timeout=5000 # 5 seconds
 touchfile=/opt/clearscm/data/shh
 
 # This just toggles the creation of the /opt/clearscm/bin/shh file
@@ -8,9 +7,11 @@ if [ -f $touchfile ]; then
   cp ~/.icons/ShhOff.png ~/.icons/Shh.png
 else
   # Stop currently playing audio
-  killall play
+  killall play 2> /dev/null
   # Stop any Google TTS
-  kill -9 $(cat /tmp/simple_google_tts.pid)
+  if [ -f /tmp/simple_google_tts.pid ]; then
+    kill -9 $(cat /tmp/simple_google_tts.pid)
+  fi
   # Clean up tmp
   rm -rf /tmp/simple_google_tts.*
   # Touch shh file
index cc8ef9f..62d42f4 100644 (file)
@@ -42,3 +42,4 @@ qtsingleapp-zoom*
 dbus-*
 scoped_*
 appInsights*
+dock-replace.log
index 51e3acb..a8c3b8c 100644 (file)
@@ -1,7 +1,7 @@
 StrictHostKeyChecking no
 LogLevel ERROR
 
-Host mars earth home defaria.com sandboxu sandboxal
+Host sandbox sandboxu sandboxal mars earth home defaria.com
   ForwardX11 yes
   ForwardX11Trusted yes
   
@@ -20,17 +20,17 @@ Host home
   User andrew
   IdentityFile         ~/.ssh/id_ecdsa
 
-Host sandbox
-  HostName 10.2.99.60
+#Host sandbox
+#  HostName 10.2.99.60
 
-Host sandboxu
-  HostName 10.2.98.185
+#Host sandboxu
+#  HostName 10.2.98.185
 
-Host sandboxal
-  HostName sandboxal
+#Host sandboxal
+#  HostName sandboxal
 
-Host sandboxal2
-  HostName sandboxal2
+#Host sandboxal2
+#  HostName sandboxal2
 
 Host 10.2.* sandbox*
   ForwardAgent yes