4500: Replace <pre>-graph with nicer image.
[libguestfs-talks.git] / 2019-lightning-talk / restore
1 #!/bin/bash -
2
3 # Safety-valve for unwary users...
4 if [ "$LOGNAME" != "rjones" ] && [ "$LOGNAME" != "eblake" ]; then
5     exit 1
6 fi
7
8 if [ "$talkdir" = "" ]; then exit 1; fi
9
10 fusermount -u $talkdir/6200-vddk.d/mp >& /dev/null
11
12 if [ -d "$talkdir/6400-boot.d/root" ]; then
13     sudo rm -rf $talkdir/6400-boot.d/root
14 fi
15
16 sleep 0.5; killall nbdkit >& /dev/null
17
18 exit 0