X-Git-Url: https://git.wh0rd.org/?p=dump.git;a=blobdiff_plain;f=examples%2Fdump_on_cd%2Fverify_dump.sh;fp=examples%2Fdump_on_cd%2Fverify_dump.sh;h=2b19702bbb1650b9bcae7f6a2df9c449d25690e7;hp=0000000000000000000000000000000000000000;hb=8b7882a833092b5974aa73e06b2e55bb9d1a9e99;hpb=caea5c768eb239f9b987791f0c665b10d7550741 diff --git a/examples/dump_on_cd/verify_dump.sh b/examples/dump_on_cd/verify_dump.sh new file mode 100755 index 0000000..2b19702 --- /dev/null +++ b/examples/dump_on_cd/verify_dump.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +if [ `id -u` != 0 ]; then + echo "root priviledges are required" + exit 1 +fi +cd / +/sbin/restore -V -b64 -C -f /dev/cdrom