Compare commits
No commits in common. "b1c87c3b86d312294faddbc5585cd866b21759fc" and "221b97c41c331494d81eafb37d59370bd0da843d" have entirely different histories.
b1c87c3b86
...
221b97c41c
|
@ -47,7 +47,6 @@
|
|||
libnotify
|
||||
ffmpeg
|
||||
mdadm
|
||||
git-annex
|
||||
|
||||
(pkgs.callPackage ../../builds/archutils.nix {})
|
||||
];
|
||||
|
|
|
@ -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"
|
Loading…
Reference in New Issue