projects
/
scripts
/
scripts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
75f1fad
)
be clever - create the mountpoint first :-o
author
hackbard
<hackbard>
Wed, 10 Sep 2003 14:04:55 +0000
(14:04 +0000)
committer
hackbard
<hackbard>
Wed, 10 Sep 2003 14:04:55 +0000
(14:04 +0000)
backup.sh
patch
|
blob
|
history
diff --git
a/backup.sh
b/backup.sh
index
a1a0f1a
..
cbed041
100755
(executable)
--- a/
backup.sh
+++ b/
backup.sh
@@
-5,6
+5,7
@@
backup_date=`date | awk '{ print $3"."$2"."$6 }'`
host=`hostname`
backup_date=`date | awk '{ print $3"."$2"."$6 }'`
host=`hostname`
+[ ! -d /mnt/nfs ] && mkdir -p /mnt/nfs
# set the backup directory
if [ "$host" = "gate" ] ; then
# set the backup directory
if [ "$host" = "gate" ] ; then