Compare commits

..

No commits in common. "b1c87c3b86d312294faddbc5585cd866b21759fc" and "221b97c41c331494d81eafb37d59370bd0da843d" have entirely different histories.

2 changed files with 0 additions and 24 deletions

View File

@ -47,7 +47,6 @@
libnotify libnotify
ffmpeg ffmpeg
mdadm mdadm
git-annex
(pkgs.callPackage ../../builds/archutils.nix {}) (pkgs.callPackage ../../builds/archutils.nix {})
]; ];

View File

@ -1,23 +0,0 @@
#!/bin/sh
# check for the disks
if [ "$(lsusb | grep -c 152d:1561)" -ne 1 ]; then
printf "is the disk drive connected?\n"
exit 1
fi
if [ "$(lsblk | grep -Ec '^sdb|^sdc')" -ne 2 ]; then
printf "are the disk drives available\n"
exit 1
fi
mount_raid_array
cd ~/mount/annex
git annex sync
git annex get .
cd /tmp
mount_raid_array umount
printf "done\n"