Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add general script with helper functions #60

Closed
chros73 opened this issue Jul 11, 2016 · 0 comments
Closed

Add general script with helper functions #60

chros73 opened this issue Jul 11, 2016 · 0 comments
Milestone

Comments

@chros73
Copy link
Owner

chros73 commented Jul 11, 2016

Add general rtUtils.sh script with helper functions that can be included into main scripts:

  • should compose and send email with the help of ssmtp util
  • add generic addMsg, writeHelper, sendEmail functions
  • should check mount point with checkMountPoint function (with cookies)
  • should check free space on device and should report it
  • should check if rtorrent is running, if not then it starts it in tmux (with cookies)
  • should be able to enable/disable certain parts of it

Additional tasks:

  • add the necessary cookie file as well
  • modify ssmtp config to be able to work with a gmail account
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant