summaryrefslogtreecommitdiff
path: root/samizdat-eject.sh
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2016-04-28 00:21:24 -0400
committerAndrew Cady <d@jerkface.net>2016-04-28 00:21:24 -0400
commit3d24cae4b9897c17ddcfc4c4d8f150931d2d1f98 (patch)
tree4fab631dd40e06670469ac4ec7679fcc8079205c /samizdat-eject.sh
parent7cc1d2e6379fde13193f98114c1bfe4a8ec5f6d8 (diff)
more samizdat-eject fixes
also, copy samizdat-eject from the initramfs to the new rootfs (into /sbin)
Diffstat (limited to 'samizdat-eject.sh')
-rwxr-xr-xsamizdat-eject.sh7
1 files changed, 1 insertions, 6 deletions
diff --git a/samizdat-eject.sh b/samizdat-eject.sh
index 0f4e117..bfd8e1c 100755
--- a/samizdat-eject.sh
+++ b/samizdat-eject.sh
@@ -44,13 +44,8 @@ done
44copy() 44copy()
45{ 45{
46 mdadm_copy_eject_crypt /dev/md55 "$temp_target" && 46 mdadm_copy_eject_crypt /dev/md55 "$temp_target" &&
47 dd if=/dev/md55 of="$target".part && 47 mdadm_copy_eject /dev/md55 "$target".part &&
48 mv "$target".part "$target" 48 mv "$target".part "$target"
49
50 # I suppose at this point $target should be made the backing device of
51 # /dev/md55
52
53 # Alternatively: mdadm --stop /dev/md55
54} 49}
55 50
56remove() 51remove()