skiwithpete / alarmpi

This is the latest version of the alarm clock for Raspberry Pi project.
116 stars 49 forks source link

Simple bugfixes/simplifications #6

Closed cpenning closed 8 years ago

cpenning commented 8 years ago

fixes #3 #5 Updated README.md:

-added ",mode=1777" to the fstab entry for /mnt/ram to make it behave like /tmp -- this will allow a non-root user to write to it.

-added a "mount -a" line after the fstab modification to allow the ramdisk to be used immediately.

-removed the unneeded "sudo python" portion in the crontab entry -- it is a good habit to get into to not run things as root. I also corrected a typo.

Updated sound_the_alarm.py:

-force it to change directories to the script directory before doing anything else. This allows it to find its config file and the project modules.

-modified the translate.google.com client per the comment by https://github.com/neondemon in issue #5. "change &clint=t to '&client=tw-ob"