Skip to content
This repository was archived by the owner on Apr 18, 2018. It is now read-only.

Commit 99a5971

Browse files
authoredJul 20, 2016
comment out logging by default
1 parent dfbc7f1 commit 99a5971

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎ramdisk

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@
66
start)
77
echo "Copying files to ramdisk"
88
rsync -av /var/ramdisk-backup/ /mnt/ramdisk/
9-
echo [`date +"%Y-%m-%d %H:%M"`] Ramdisk Synched from HD >> /var/log/ramdisk_sync.log
9+
#echo [`date +"%Y-%m-%d %H:%M"`] Ramdisk Synched from HD >> /var/log/ramdisk_sync.log
1010
;;
1111
sync)
1212
echo "Synching files from ramdisk to Harddisk"
13-
echo [`date +"%Y-%m-%d %H:%M"`] Ramdisk Synched to HD >> /var/log/ramdisk_sync.log
1413
rsync -av --delete --recursive --force /mnt/ramdisk/ /var/ramdisk-backup/
14+
#echo [`date +"%Y-%m-%d %H:%M"`] Ramdisk Synched to HD >> /var/log/ramdisk_sync.log
1515
;;
1616
stop)
1717
echo "Synching logfiles from ramdisk to Harddisk"
18-
echo [`date +"%Y-%m-%d %H:%M"`] Ramdisk Synched to HD >> /var/log/ramdisk_sync.log
1918
rsync -av --delete --recursive --force /mnt/ramdisk/ /var/ramdisk-backup/
19+
#echo [`date +"%Y-%m-%d %H:%M"`] Ramdisk Synched to HD >> /var/log/ramdisk_sync.log
2020
;;
2121
*)
2222
echo "Usage: /etc/init.d/ramdisk {start|stop|sync}"

0 commit comments

Comments
 (0)
This repository has been archived.