Simplified scenario for testing

This commit is contained in:
thomashaw
2021-06-23 15:22:11 +01:00
parent 3557fa33b9
commit 618cedd4e2
2 changed files with 2 additions and 3 deletions

View File

@@ -18,7 +18,6 @@ class MessageActioner < CommandActioner
["DISPLAY=:0 /usr/bin/notify-send '#{self.message_header}' '#{self.message_subtext}' --icon=dialog-information",
"/usr/bin/wall #{self.username == 'root' ? '-n ' : ''}'#{self.message_header}' '#{self.message_subtext}'", # wall -n requires root
"/bin/echo '#{self.message_subtext}' | /usr/bin/mail -s '#{self.message_header}' #{self.recipient}"]
# TODO: Test mail command
end