commit c09f05a68c974b1664ffd15e3ab68f82cbfd6e1c
parent ca6d9e3cda4eabf0ab24b46bf2da6a5be75a5fc3
Author: rsiddharth <rsiddharth@ninthfloor.org>
Date: Mon, 14 Mar 2016 23:59:10 -0400
Add .bin/ping-for-jarl
Pings me if jarl is not mounted.
Diffstat:
1 file changed, 23 insertions(+), 0 deletions(-)
diff --git a/.bin/ping-for-jarl b/.bin/ping-for-jarl
@@ -0,0 +1,23 @@
+#!/bin/sh
+#
+# Copyright (C) 2016 rsiddharth <s@ricketyspace.net>
+#
+# This program is free software: you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation, either version 3 of the
+# License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see
+# <http://www.gnu.org/licenses/>.
+
+# if $JARL_BACKUP_PATH is not mounted, ping me.
+
+if [ ! -d $JARL_BACKUP_PATH ]; then
+ mplayer /usr/share/sounds/alsa/Noise.wav
+fi