Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove ctags stuff

  • Loading branch information...
commit 549da92260bb9c1ffa03b01f310bfaa42be9538c 1 parent 4098325
@ludo authored
Showing with 6 additions and 4 deletions.
  1. +6 −1 bin/ipwatchdog.sh
  2. +0 −3  dotfiles/vimrc
View
7 bin/ipwatchdog.sh
@@ -3,6 +3,11 @@
# This script is for my QNAP TS-112 NAS. It sends an email to the address
# configured in nas admin whenever IP has changed (to be scheduled as cron job)
+# 1. Add the following to /etc/config/crontab:
+# 0 */6 * * * /root/bin/ipwatchdog.sh
+# 2. Reload crontab:
+# crontab /etc/config/crontab
+
USER="me@ludo.is"
IPFILE=$HOME/.ipwatchdog
@@ -26,7 +31,7 @@ if [ "$CURRIP" != "$PREVIP" ]; then
# echo "IP changed from $PREVIP to $CURRIP."
# /usr/sbin/sendmail $USER < /tmp/ipwatchdog.$$
+ # rm /tmp/ipwatchdog.$$
/sbin/send_alert_mail "Hi there! Wanted to let you know that the external IP changed from $PREVIP to $CURRIP. Have a nice day."
- rm /tmp/ipwatchdog.$$
fi
View
3  dotfiles/vimrc
@@ -72,9 +72,6 @@ let NERDSpaceDelims = 1
" vim-powerline
let g:Powerline_symbols = 'fancy'
-" CTags
-set tags+=gems.tags
-
" Ruby
if !empty($MY_RUBY_HOME)
let g:ruby_path = join(split(glob($MY_RUBY_HOME.'/lib/ruby/*.*')."\n".glob($MY_RUBY_HOME.'/lib/ruby/site_ruby/*'),"\n"),',')
Please sign in to comment.
Something went wrong with that request. Please try again.