From: Richard Jones Date: Fri, 5 Feb 2010 15:05:36 +0000 (+0000) Subject: hivex: example6: Hypothetical addition of keys for viostor. X-Git-Tag: 1.0.83~7 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=8e15d5a1899106de5080196ddca392b2ff997ac9;p=libguestfs.git hivex: example6: Hypothetical addition of keys for viostor. --- diff --git a/hivex/example6 b/hivex/example6 new file mode 100755 index 0000000..10cae59 --- /dev/null +++ b/hivex/example6 @@ -0,0 +1,126 @@ +#!/bin/bash - +# Copyright (C) 2009-2010 Red Hat Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + +set -e + +# Hypothetical viostor installation in a W2K3 system registry. + +if [ $# -ne 2 ]; then + echo "$0 system system.new" + exit 1 +fi + +d=`dirname $0` + +$d/hivexsh -w <