Compare commits

...

2 Commits

Author SHA1 Message Date
Ray Elliott cc594c635c add pam-say script 2020-02-25 10:05:59 +00:00
Ray Elliott b318800b32 make created file executable for all users 2020-02-25 09:56:38 +00:00
4 changed files with 10 additions and 3 deletions

View File

@ -12,5 +12,6 @@ Useful utility scripts.
|---|---| |---|---|
|newsh ["command"]|Create executable `sh` script. Optionally add `command`.| |newsh ["command"]|Create executable `sh` script. Optionally add `command`.|
|newbash ["command"]|Create executable `bash` script. Optionally add `command`.| |newbash ["command"]|Create executable `bash` script. Optionally add `command`.|
|date-show ["command"]|Show a time and date window.| |date-show|Show a time and date window.|
|pam-say <text>|Tells Pamela to say something|

View File

@ -11,4 +11,4 @@ echo "#!/bin/bash" > "$1"
echo "" >> "$1" echo "" >> "$1"
echo "$2" >> "$1" echo "$2" >> "$1"
chmod u+x "$1" chmod +x "$1"

View File

@ -11,4 +11,4 @@ echo "#!/bin/sh" > "$1"
echo "" >> "$1" echo "" >> "$1"
echo "$2" >> "$1" echo "$2" >> "$1"
chmod u+x "$1" chmod +x "$1"

6
src/pam-say Executable file
View File

@ -0,0 +1,6 @@
#!/bin/sh
_command="echo ""$*"" | festival --tts"
ssh pamela "$_command"