Merge pull request #671 from xanmanning/master

Remove innuendo from fake-hwclock
This commit is contained in:
WarheadsSE 2014-01-13 07:08:08 -08:00
commit 31fd010278

View file

@ -1,16 +1,16 @@
#!/bin/bash
MYSELF=$0
THISFILE=$0
setclock() {
echo "Setting clock."
MYTIME=$(date -r $MYSELF '+%Y-%m-%d %r')
MYTIME=$(date -r $THISFILE '+%Y-%m-%d %r')
date --set="$MYTIME" &>/dev/null
}
saveclock() {
echo "Saving current time."
touch $MYSELF &>/dev/null
touch $THISFILE &>/dev/null
}
case "$1" in
@ -21,7 +21,7 @@ case "$1" in
saveclock
;;
*)
echo "Usage: $MYSELF {set|save}"
echo "Usage: $THISFILE {set|save}"
exit 1
;;
esac