Add new file

This commit is contained in:
Cody Cook 2017-08-22 15:44:01 -07:00
commit c32dd94892

6
iscsi_fix.sh Normal file
View file

@ -0,0 +1,6 @@
#!/bin/bash
(
volume="data"
for i in `find /$volume -maxdepth 2 -type d -name ".iscsi" | sed "s/\/.iscsi//g;s/\/$volume\///g;"`; do mkdir -p /$volume/._share/${i} cd /$volume/._share/${i}; echo "comment " > iscsi.conf; echo "0 0 0 * 0 0 0" > snapshot.conf;done
)