===========================================================
                                      .___ __  __   
          _________________  __ __  __| _/|__|/  |_ 
         / ___\_` __ \__  \ |  |  \/ __ | | \\_  __\
        / /_/  >  | \// __ \|  |  / /_/ | |  ||  |  
        \___  /|__|  (____  /____/\____ | |__||__|  
       /_____/            \/           \/           
              grep rough audit - static analysis tool
                  v2.8 written by @Wireghoul
=================================[justanotherhacker.com]===
xen-tools-4.8/bin/xt-guess-suite-and-mirror-155-if (!$found and defined($lsb_release) and -x $lsb_release) {
xen-tools-4.8/bin/xt-guess-suite-and-mirror:156:    my $vendor = `$lsb_release -s -i`;
xen-tools-4.8/bin/xt-guess-suite-and-mirror-157-
xen-tools-4.8/bin/xt-guess-suite-and-mirror-158-    if ($vendor eq 'Debian' or $vendor eq 'Ubuntu') {
xen-tools-4.8/bin/xt-guess-suite-and-mirror:159:        $suite = `$lsb_release -s -c`;
xen-tools-4.8/bin/xt-guess-suite-and-mirror-160-        chomp($suite);
##############################################
xen-tools-4.8/bin/xt-customize-image-330-                print "--\n";
xen-tools-4.8/bin/xt-customize-image:331:                my $rc = system($cmd);
xen-tools-4.8/bin/xt-customize-image-332-                if ($rc != 0) {
##############################################
xen-tools-4.8/bin/xt-customize-image-341-                print "Running hook $name\n";
xen-tools-4.8/bin/xt-customize-image:342:                my $rc = system($cmd);
xen-tools-4.8/bin/xt-customize-image-343-                if ($rc != 0) {
##############################################
xen-tools-4.8/bin/xen-update-image-280-    #
xen-tools-4.8/bin/xen-update-image:281:    `$mount_cmd`;
xen-tools-4.8/bin/xen-update-image-282-
##############################################
xen-tools-4.8/bin/xen-update-image-297-        #
xen-tools-4.8/bin/xen-update-image:298:        system("chroot $tmp /usr/bin/apt-get update");
xen-tools-4.8/bin/xen-update-image-299-
##############################################
xen-tools-4.8/bin/xen-update-image-325-    #
xen-tools-4.8/bin/xen-update-image:326:    `umount -l $tmp`;
xen-tools-4.8/bin/xen-update-image:327:    `umount $tmp 2>/dev/null >/dev/null`;
xen-tools-4.8/bin/xen-update-image-328-
##############################################
xen-tools-4.8/bin/xen-resize-guest-170-    #
xen-tools-4.8/bin/xen-resize-guest:171:    my $type = `file $path`;
xen-tools-4.8/bin/xen-resize-guest-172-    if ( $type !~ /ext3/ )
##############################################
xen-tools-4.8/bin/xen-resize-guest-203-    my $cmd = "dd if=/dev/zero bs=1M count=$CONFIG{'add'}k >> $path";
xen-tools-4.8/bin/xen-resize-guest:204:    system($cmd );
xen-tools-4.8/bin/xen-resize-guest-205-}
##############################################
xen-tools-4.8/bin/xen-resize-guest-229-    #
xen-tools-4.8/bin/xen-resize-guest:230:    my $type = `head $path | file -`;
xen-tools-4.8/bin/xen-resize-guest-231-    if ( $type !~ /ext3/ )
##############################################
xen-tools-4.8/bin/xen-resize-guest-261-    my $cmd = "lvextend -L+$CONFIG{'add'}M $path";
xen-tools-4.8/bin/xen-resize-guest:262:    system($cmd );
xen-tools-4.8/bin/xen-resize-guest-263-}
##############################################
xen-tools-4.8/bin/xen-resize-guest-274-print "Checking filesystem\n";
xen-tools-4.8/bin/xen-resize-guest:275:system("fsck.ext3 -f $path");
xen-tools-4.8/bin/xen-resize-guest-276-
##############################################
xen-tools-4.8/bin/xen-resize-guest-280-print "Resizing in place\n";
xen-tools-4.8/bin/xen-resize-guest:281:system("resize2fs $path");
xen-tools-4.8/bin/xen-resize-guest-282-
##############################################
xen-tools-4.8/bin/xen-create-image-1198-    my $test = "use Text::Template";
xen-tools-4.8/bin/xen-create-image:1199:    eval($test);
xen-tools-4.8/bin/xen-create-image-1200-    if ( ($@) && ( !$CONFIG{ 'force' } ) )
##############################################
xen-tools-4.8/bin/xen-create-image-2458-    my $test = "use Config::IniFiles";
xen-tools-4.8/bin/xen-create-image:2459:    eval($test);
xen-tools-4.8/bin/xen-create-image-2460-    if ($@)
##############################################
xen-tools-4.8/bin/xen-create-image-3051-        {
xen-tools-4.8/bin/xen-create-image:3052:            createFilesystem( $disk, $partition->{ 'type' } );
xen-tools-4.8/bin/xen-create-image-3053-        }
##############################################
xen-tools-4.8/bin/xen-create-image-3131-
xen-tools-4.8/bin/xen-create-image:3132:    createFilesystem( $phys_img, $CONFIG{ 'fs' } );
xen-tools-4.8/bin/xen-create-image-3133-    createSwap($swap_img) unless ( $CONFIG{ 'noswap' } );
##############################################
xen-tools-4.8/bin/xen-create-image-3261-        {
xen-tools-4.8/bin/xen-create-image:3262:            createFilesystem( $lvm_disk, $partition->{ 'type' } );
xen-tools-4.8/bin/xen-create-image-3263-        }
##############################################
xen-tools-4.8/bin/xen-create-image-3367-        {
xen-tools-4.8/bin/xen-create-image:3368:            createFilesystem( $zfs_disk, $partition->{ 'type' } );
xen-tools-4.8/bin/xen-create-image-3369-        }
##############################################
xen-tools-4.8/bin/xen-create-image-3511-        {
xen-tools-4.8/bin/xen-create-image:3512:            createFilesystem( $disk_cmd_volume, $partition->{ 'type' } );
xen-tools-4.8/bin/xen-create-image-3513-        }
##############################################
xen-tools-4.8/bin/xen-create-image-4178-            while ($tryagain) {
xen-tools-4.8/bin/xen-create-image:4179:                my $rc = system("chroot $MOUNT_POINT /usr/bin/passwd");
xen-tools-4.8/bin/xen-create-image-4180-                if ($rc >> 8) {
##############################################
xen-tools-4.8/bin/xen-create-image-4393-            my $pubkey_path = "$key_dir/$pubkey_file";
xen-tools-4.8/bin/xen-create-image:4394:            my $fingerprint_line = `ssh-keygen -lf "$pubkey_path"`;
xen-tools-4.8/bin/xen-create-image-4395-            if ($fingerprint_line =~ /^(\S+)\s+(\S+)/ ) {
##############################################
xen-tools-4.8/xt/portable-shell.t-92-    # Check for bashisms
xen-tools-4.8/xt/portable-shell.t:93:    $result = `/usr/bin/checkbashisms '$file'`;
xen-tools-4.8/xt/portable-shell.t-94-    is( $result, '', "Shell script passes check for bashisms: $file" );
##############################################
xen-tools-4.8/xt/getopt.t-44-    #
xen-tools-4.8/xt/getopt.t:45:    my $output = `perl -Ilib $file --help`;
xen-tools-4.8/xt/getopt.t-46-
##############################################
xen-tools-4.8/t/xt-create-xen-config.t-177-    my $prefix = $ENV{AS_INSTALLED_TESTING} ? '/usr/' : 'perl ';
xen-tools-4.8/t/xt-create-xen-config.t:178:    system( "${prefix}bin/xt-create-xen-config --output=$dir --template=etc/xm.tmpl" );
xen-tools-4.8/t/xt-create-xen-config.t-179-
##############################################
xen-tools-4.8/t/xen-lists-images.t-102-    my $cmd = "${prefix}bin/xen-list-images --test=$dir";
xen-tools-4.8/t/xen-lists-images.t:103:    my $output = `$cmd`;
xen-tools-4.8/t/xen-lists-images.t-104-
##############################################
xen-tools-4.8/t/xen-delete-image.t-78-my $prefix = $ENV{AS_INSTALLED_TESTING} ? '/usr/' : 'perl -Ilib -I../lib ';
xen-tools-4.8/t/xen-delete-image.t:79:my $log = `${prefix}bin/xen-delete-image --test --verbose --dir=$dir $hostname`;
xen-tools-4.8/t/xen-delete-image.t-80-ok ( $? == 0, 'Calling xen-delete-image returned exit code 0' );
##############################################
xen-tools-4.8/t/shell-syntax.t-66-    #
xen-tools-4.8/t/shell-syntax.t:67:    my $retval = system( "sh -n $file 2>/dev/null >/dev/null" );
xen-tools-4.8/t/shell-syntax.t-68-
##############################################
xen-tools-4.8/t/pod-check.t-26-        my $cmd           = "podchecker $file";
xen-tools-4.8/t/pod-check.t:27:        my $output = `$cmd 2>&1`;
xen-tools-4.8/t/pod-check.t-28-        chomp( $output );
##############################################
xen-tools-4.8/t/perl-syntax.t-86-    #
xen-tools-4.8/t/perl-syntax.t:87:    my $retval = system( "perl -Mstrict=subs -Mstrict=vars -Ilib -c $file 2>/dev/null >/dev/null" );
xen-tools-4.8/t/perl-syntax.t-88-
##############################################
xen-tools-4.8/t/modules.sh-27-
xen-tools-4.8/t/modules.sh:28:for i in `grep '^use ' -r .. | egrep -v '^\./\.git/|Expect|POSIX|Xen::' | awk '{print $2}' | tr -d '\r;()' | sort -u`; \
xen-tools-4.8/t/modules.sh-29-    do \
##############################################
xen-tools-4.8/t/hook-tls.t-74-    #
xen-tools-4.8/t/hook-tls.t:75:    `$hook_dir/$dist/10-disable-tls $dir`;
xen-tools-4.8/t/hook-tls.t-76-
##############################################
xen-tools-4.8/t/hook-inittab.t-69-    #
xen-tools-4.8/t/hook-inittab.t:70:    `$hook_dir/$dist/30-disable-gettys $dir`;
xen-tools-4.8/t/hook-inittab.t-71-
##############################################
xen-tools-4.8/t/hook-hostname.t-88-    #
xen-tools-4.8/t/hook-hostname.t:89:    `$hook_dir/$dist/50-setup-hostname $dir`;
xen-tools-4.8/t/hook-hostname.t-90-
##############################################
xen-tools-4.8/t/hook-daemons.t-91-    #
xen-tools-4.8/t/hook-daemons.t:92:    `$hook_dir/$dist/01-disable-daemons $dir`;
xen-tools-4.8/t/hook-daemons.t-93-
##############################################
xen-tools-4.8/t/hook-daemons.t-102-    #
xen-tools-4.8/t/hook-daemons.t:103:    `$hook_dir/$dist/99-enable-daemons $dir`;
xen-tools-4.8/t/hook-daemons.t-104-
##############################################
xen-tools-4.8/roles/editor-58-#
xen-tools-4.8/roles/editor:59:for i in `find ${source} -name '*.sed' -print`; do
xen-tools-4.8/roles/editor-60-
##############################################
xen-tools-4.8/misc/xen-tools.bash-completion-32-    for i in /etc/xen/*.cfg ; do
xen-tools-4.8/misc/xen-tools.bash-completion:33:        name=`grep ^name $i 2>/dev/null | awk -F\'  '{print $2}'`
xen-tools-4.8/misc/xen-tools.bash-completion-34-        if [ -n "${name}" ] ; then
##############################################
xen-tools-4.8/misc/xen-tools.bash-completion-61-    # Complete the initial part of the IP in the configuration file.
xen-tools-4.8/misc/xen-tools.bash-completion:62:    ip=`grep ^gateway /etc/xen-tools/xen-tools.conf 2>/dev/null | awk -F'= '  '{print $2}'`
xen-tools-4.8/misc/xen-tools.bash-completion-63-
##############################################
xen-tools-4.8/misc/xen-tools.bash-completion-76-    #
xen-tools-4.8/misc/xen-tools.bash-completion:77:    vgs=`vgdisplay 2>/dev/null | grep Name 2>/dev/null | awk '{print $3}'`
xen-tools-4.8/misc/xen-tools.bash-completion-78-
##############################################
xen-tools-4.8/misc/xen-tools.bash-completion-157-        --ip)
xen-tools-4.8/misc/xen-tools.bash-completion:158:            ip=`echo ${ip} | sed -e 's/[.][^.]*$/./'`
xen-tools-4.8/misc/xen-tools.bash-completion-159-            COMPREPLY=( $(compgen -W "${ip}" -- ${cur}) )
##############################################
xen-tools-4.8/misc/xen-tools.bash-completion-255-    #
xen-tools-4.8/misc/xen-tools.bash-completion:256:    vgs=`vgdisplay 2>/dev/null | grep Name 2>/dev/null | awk '{print $3}'`
xen-tools-4.8/misc/xen-tools.bash-completion-257-
##############################################
xen-tools-4.8/misc/xen-tools.bash-completion-317-    #
xen-tools-4.8/misc/xen-tools.bash-completion:318:    vgs=`vgdisplay 2>/dev/null | grep Name 2>/dev/null | awk '{print $3}'`
xen-tools-4.8/misc/xen-tools.bash-completion-319-
##############################################
xen-tools-4.8/lib/Xen/Tools/Common.pm-99-                # get output
xen-tools-4.8/lib/Xen/Tools/Common.pm:100:                my $output = `$cmd`;
xen-tools-4.8/lib/Xen/Tools/Common.pm-101-                chomp($output);
##############################################
xen-tools-4.8/lib/Xen/Tools/Common.pm-167-    if ($xm and $xl and -x $helper) {
xen-tools-4.8/lib/Xen/Tools/Common.pm:168:        my $toolstack = `$helper`;
xen-tools-4.8/lib/Xen/Tools/Common.pm-169-        chomp($toolstack);
##############################################
xen-tools-4.8/lib/Xen/Tools/Common.pm-172-
xen-tools-4.8/lib/Xen/Tools/Common.pm:173:    if ($xm and system("$xm list >/dev/null 2>/dev/null") == 0) {
xen-tools-4.8/lib/Xen/Tools/Common.pm-174-        return $xm;
##############################################
xen-tools-4.8/lib/Xen/Tools/Common.pm-176-
xen-tools-4.8/lib/Xen/Tools/Common.pm:177:    if ($xl and system("$xl list >/dev/null 2>/dev/null") == 0) {
xen-tools-4.8/lib/Xen/Tools/Common.pm-178-        return $xl;
##############################################
xen-tools-4.8/lib/Xen/Tools/Common.pm-319-            }
xen-tools-4.8/lib/Xen/Tools/Common.pm:320:            system( "chsh", "-s", $shell, $user );
xen-tools-4.8/lib/Xen/Tools/Common.pm-321-        }
##############################################
xen-tools-4.8/lib/Xen/Tools/Common.pm-328-            }
xen-tools-4.8/lib/Xen/Tools/Common.pm:329:            system( "useradd", "-s", $shell, $user );
xen-tools-4.8/lib/Xen/Tools/Common.pm-330-        }
##############################################
xen-tools-4.8/hooks/karmic/80-install-kernel-ubuntu-48-if [ $? -ne 0 ]; then
xen-tools-4.8/hooks/karmic/80-install-kernel-ubuntu:49:    chroot ${prefix} update-initramfs -c -k `ls -1 ${prefix}/lib/modules/ | head -n 1`
xen-tools-4.8/hooks/karmic/80-install-kernel-ubuntu-50-fi
##############################################
xen-tools-4.8/hooks/karmic/30-disable-gettys-53-
xen-tools-4.8/hooks/karmic/30-disable-gettys:54:    serial_device=`basename ${serial_device}`
xen-tools-4.8/hooks/karmic/30-disable-gettys-55-
##############################################
xen-tools-4.8/hooks/karmic/35-setup-users-29-if (-x "$prefix/usr/sbin/pwconv") {
xen-tools-4.8/hooks/karmic/35-setup-users:30:    system( "chroot $prefix /usr/sbin/pwconv" );
xen-tools-4.8/hooks/karmic/35-setup-users-31-}
xen-tools-4.8/hooks/karmic/35-setup-users-32-if (-x "$prefix/usr/sbin/grpconv") {
xen-tools-4.8/hooks/karmic/35-setup-users:33:    system( "chroot $prefix /usr/sbin/grpconv" );
xen-tools-4.8/hooks/karmic/35-setup-users-34-}
##############################################
xen-tools-4.8/hooks/karmic/35-setup-users-175-    #
xen-tools-4.8/hooks/karmic/35-setup-users:176:    my $groups = `groups $username`;
xen-tools-4.8/hooks/karmic/35-setup-users-177-    # split off the usernmame.
##############################################
xen-tools-4.8/hooks/karmic/35-setup-users-186-        # Make sure the group exists.
xen-tools-4.8/hooks/karmic/35-setup-users:187:        system( "chroot $prefix /usr/sbin/addgroup $g" );
xen-tools-4.8/hooks/karmic/35-setup-users-188-
xen-tools-4.8/hooks/karmic/35-setup-users-189-        # add the user to it.
xen-tools-4.8/hooks/karmic/35-setup-users:190:        system( "chroot $prefix /usr/sbin/adduser $username $g" );
xen-tools-4.8/hooks/karmic/35-setup-users-191-    }
##############################################
xen-tools-4.8/hooks/karmic/40-setup-networking-128-        value=\$ip${count}
xen-tools-4.8/hooks/karmic/40-setup-networking:129:        value=`eval echo $value`
xen-tools-4.8/hooks/karmic/40-setup-networking-130-
##############################################
xen-tools-4.8/hooks/karmic/40-setup-networking-139-E_O_STATIC
xen-tools-4.8/hooks/karmic/40-setup-networking:140:        count=`expr $count + 1`
xen-tools-4.8/hooks/karmic/40-setup-networking:141:        interface=`expr $interface + 1`
xen-tools-4.8/hooks/karmic/40-setup-networking-142-    done
##############################################
xen-tools-4.8/hooks/karmic/50-setup-hostname-33-GUEST_FQDN=${hostname}
xen-tools-4.8/hooks/karmic/50-setup-hostname:34:GUEST_HOSTNAME=`echo $GUEST_FQDN | awk -F'.' '{print $1}'`
xen-tools-4.8/hooks/karmic/50-setup-hostname-35-
##############################################
xen-tools-4.8/hooks/karmic/90-make-fstab-51-    if [ -n "${disk_device}" ]; then
xen-tools-4.8/hooks/karmic/90-make-fstab:52:        device=`basename $disk_device`
xen-tools-4.8/hooks/karmic/90-make-fstab-53-    fi
##############################################
xen-tools-4.8/hooks/karmic/90-make-fstab-71-E_O_FSTAB
xen-tools-4.8/hooks/karmic/90-make-fstab:72:for part in `seq 1 ${NUMPARTITIONS}`; do
xen-tools-4.8/hooks/karmic/90-make-fstab-73-    eval "PARTITION=\"\${PARTITION${part}}\""
##############################################
xen-tools-4.8/hooks/intrepid/30-disable-gettys-53-
xen-tools-4.8/hooks/intrepid/30-disable-gettys:54:    serial_device=`basename ${serial_device}`
xen-tools-4.8/hooks/intrepid/30-disable-gettys-55-
##############################################
xen-tools-4.8/hooks/intrepid/35-setup-users-29-if (-x "$prefix/usr/sbin/pwconv") {
xen-tools-4.8/hooks/intrepid/35-setup-users:30:    system( "chroot $prefix /usr/sbin/pwconv" );
xen-tools-4.8/hooks/intrepid/35-setup-users-31-}
xen-tools-4.8/hooks/intrepid/35-setup-users-32-if (-x "$prefix/usr/sbin/grpconv") {
xen-tools-4.8/hooks/intrepid/35-setup-users:33:    system( "chroot $prefix /usr/sbin/grpconv" );
xen-tools-4.8/hooks/intrepid/35-setup-users-34-}
##############################################
xen-tools-4.8/hooks/intrepid/35-setup-users-175-    #
xen-tools-4.8/hooks/intrepid/35-setup-users:176:    my $groups = `groups $username`;
xen-tools-4.8/hooks/intrepid/35-setup-users-177-    # split off the usernmame.
##############################################
xen-tools-4.8/hooks/intrepid/35-setup-users-186-        # Make sure the group exists.
xen-tools-4.8/hooks/intrepid/35-setup-users:187:        system( "chroot $prefix /usr/sbin/addgroup $g" );
xen-tools-4.8/hooks/intrepid/35-setup-users-188-
xen-tools-4.8/hooks/intrepid/35-setup-users-189-        # add the user to it.
xen-tools-4.8/hooks/intrepid/35-setup-users:190:        system( "chroot $prefix /usr/sbin/adduser $username $g" );
xen-tools-4.8/hooks/intrepid/35-setup-users-191-    }
##############################################
xen-tools-4.8/hooks/intrepid/40-setup-networking-128-        value=\$ip${count}
xen-tools-4.8/hooks/intrepid/40-setup-networking:129:        value=`eval echo $value`
xen-tools-4.8/hooks/intrepid/40-setup-networking-130-
##############################################
xen-tools-4.8/hooks/intrepid/40-setup-networking-139-E_O_STATIC
xen-tools-4.8/hooks/intrepid/40-setup-networking:140:        count=`expr $count + 1`
xen-tools-4.8/hooks/intrepid/40-setup-networking:141:        interface=`expr $interface + 1`
xen-tools-4.8/hooks/intrepid/40-setup-networking-142-    done
##############################################
xen-tools-4.8/hooks/intrepid/50-setup-hostname-33-GUEST_FQDN=${hostname}
xen-tools-4.8/hooks/intrepid/50-setup-hostname:34:GUEST_HOSTNAME=`echo $GUEST_FQDN | awk -F'.' '{print $1}'`
xen-tools-4.8/hooks/intrepid/50-setup-hostname-35-
##############################################
xen-tools-4.8/hooks/intrepid/90-make-fstab-51-    if [ -n "${disk_device}" ]; then
xen-tools-4.8/hooks/intrepid/90-make-fstab:52:        device=`basename $disk_device`
xen-tools-4.8/hooks/intrepid/90-make-fstab-53-    fi
##############################################
xen-tools-4.8/hooks/intrepid/90-make-fstab-71-E_O_FSTAB
xen-tools-4.8/hooks/intrepid/90-make-fstab:72:for part in `seq 1 ${NUMPARTITIONS}`; do
xen-tools-4.8/hooks/intrepid/90-make-fstab-73-    eval "PARTITION=\"\${PARTITION${part}}\""
##############################################
xen-tools-4.8/hooks/gentoo/50-setup-hostname-102-        #
xen-tools-4.8/hooks/gentoo/50-setup-hostname:103:        name=`echo ${hostname} | awk -F. '{print $1}'`
xen-tools-4.8/hooks/gentoo/50-setup-hostname-104-
##############################################
xen-tools-4.8/hooks/gentoo/40-setup-networking-87-        value=\$ip${count}
xen-tools-4.8/hooks/gentoo/40-setup-networking:88:        value=`eval echo $value`
xen-tools-4.8/hooks/gentoo/40-setup-networking-89-
##############################################
xen-tools-4.8/hooks/gentoo/40-setup-networking-95-E_O_STATIC
xen-tools-4.8/hooks/gentoo/40-setup-networking:96:        count=`expr $count + 1`
xen-tools-4.8/hooks/gentoo/40-setup-networking:97:        interface=`expr $interface + 1`
xen-tools-4.8/hooks/gentoo/40-setup-networking-98-    done
##############################################
xen-tools-4.8/hooks/gentoo/30-disable-gettys-53-
xen-tools-4.8/hooks/gentoo/30-disable-gettys:54:    serial_device=`basename ${serial_device}`
xen-tools-4.8/hooks/gentoo/30-disable-gettys-55-
##############################################
xen-tools-4.8/hooks/gentoo/35-setup-users-29-if (-x "$prefix/usr/sbin/pwconv") {
xen-tools-4.8/hooks/gentoo/35-setup-users:30:    system( "chroot $prefix /usr/sbin/pwconv" );
xen-tools-4.8/hooks/gentoo/35-setup-users-31-}
xen-tools-4.8/hooks/gentoo/35-setup-users-32-if (-x "$prefix/usr/sbin/grpconv") {
xen-tools-4.8/hooks/gentoo/35-setup-users:33:    system( "chroot $prefix /usr/sbin/grpconv" );
xen-tools-4.8/hooks/gentoo/35-setup-users-34-}
##############################################
xen-tools-4.8/hooks/gentoo/35-setup-users-175-    #
xen-tools-4.8/hooks/gentoo/35-setup-users:176:    my $groups = `groups $username`;
xen-tools-4.8/hooks/gentoo/35-setup-users-177-    # split off the usernmame.
##############################################
xen-tools-4.8/hooks/gentoo/35-setup-users-186-        # Make sure the group exists.
xen-tools-4.8/hooks/gentoo/35-setup-users:187:        system( "chroot $prefix /usr/sbin/addgroup $g" );
xen-tools-4.8/hooks/gentoo/35-setup-users-188-
xen-tools-4.8/hooks/gentoo/35-setup-users-189-        # add the user to it.
xen-tools-4.8/hooks/gentoo/35-setup-users:190:        system( "chroot $prefix /usr/sbin/adduser $username $g" );
xen-tools-4.8/hooks/gentoo/35-setup-users-191-    }
##############################################
xen-tools-4.8/hooks/gentoo/55-create-dev-46-#
xen-tools-4.8/hooks/gentoo/55-create-dev:47:if ( test `ls -1 ${prefix}/dev | wc -l` -gt 10 ); then
xen-tools-4.8/hooks/gentoo/55-create-dev-48-    #
##############################################
xen-tools-4.8/hooks/gentoo/90-make-fstab-51-    if [ -n "${disk_device}" ]; then
xen-tools-4.8/hooks/gentoo/90-make-fstab:52:        device=`basename $disk_device`
xen-tools-4.8/hooks/gentoo/90-make-fstab-53-    fi
##############################################
xen-tools-4.8/hooks/gentoo/90-make-fstab-71-E_O_FSTAB
xen-tools-4.8/hooks/gentoo/90-make-fstab:72:for part in `seq 1 ${NUMPARTITIONS}`; do
xen-tools-4.8/hooks/gentoo/90-make-fstab-73-    eval "PARTITION=\"\${PARTITION${part}}\""
##############################################
xen-tools-4.8/hooks/fedora-core-6/30-disable-gettys-53-
xen-tools-4.8/hooks/fedora-core-6/30-disable-gettys:54:    serial_device=`basename ${serial_device}`
xen-tools-4.8/hooks/fedora-core-6/30-disable-gettys-55-
##############################################
xen-tools-4.8/hooks/fedora-core-6/35-setup-users-29-if (-x "$prefix/usr/sbin/pwconv") {
xen-tools-4.8/hooks/fedora-core-6/35-setup-users:30:    system( "chroot $prefix /usr/sbin/pwconv" );
xen-tools-4.8/hooks/fedora-core-6/35-setup-users-31-}
xen-tools-4.8/hooks/fedora-core-6/35-setup-users-32-if (-x "$prefix/usr/sbin/grpconv") {
xen-tools-4.8/hooks/fedora-core-6/35-setup-users:33:    system( "chroot $prefix /usr/sbin/grpconv" );
xen-tools-4.8/hooks/fedora-core-6/35-setup-users-34-}
##############################################
xen-tools-4.8/hooks/fedora-core-6/35-setup-users-175-    #
xen-tools-4.8/hooks/fedora-core-6/35-setup-users:176:    my $groups = `groups $username`;
xen-tools-4.8/hooks/fedora-core-6/35-setup-users-177-    # split off the usernmame.
##############################################
xen-tools-4.8/hooks/fedora-core-6/35-setup-users-186-        # Make sure the group exists.
xen-tools-4.8/hooks/fedora-core-6/35-setup-users:187:        system( "chroot $prefix /usr/sbin/addgroup $g" );
xen-tools-4.8/hooks/fedora-core-6/35-setup-users-188-
xen-tools-4.8/hooks/fedora-core-6/35-setup-users-189-        # add the user to it.
xen-tools-4.8/hooks/fedora-core-6/35-setup-users:190:        system( "chroot $prefix /usr/sbin/adduser $username $g" );
xen-tools-4.8/hooks/fedora-core-6/35-setup-users-191-    }
##############################################
xen-tools-4.8/hooks/fedora-core-6/40-setup-networking-60-         value=\$ip${count}
xen-tools-4.8/hooks/fedora-core-6/40-setup-networking:61:         value=`eval echo $value`
xen-tools-4.8/hooks/fedora-core-6/40-setup-networking-62-
##############################################
xen-tools-4.8/hooks/fedora-core-6/40-setup-networking-71-E_O_STATIC
xen-tools-4.8/hooks/fedora-core-6/40-setup-networking:72:         count=`expr $count + 1`
xen-tools-4.8/hooks/fedora-core-6/40-setup-networking:73:         interface=`expr $interface + 1`
xen-tools-4.8/hooks/fedora-core-6/40-setup-networking-74-     done
##############################################
xen-tools-4.8/hooks/fedora-core-6/50-setup-hostname-95-        #
xen-tools-4.8/hooks/fedora-core-6/50-setup-hostname:96:        name=`echo ${hostname} | awk -F. '{print $1}'`
xen-tools-4.8/hooks/fedora-core-6/50-setup-hostname-97-
##############################################
xen-tools-4.8/hooks/fedora-core-6/55-create-dev-46-#
xen-tools-4.8/hooks/fedora-core-6/55-create-dev:47:if ( test `ls -1 ${prefix}/dev | wc -l` -gt 10 ); then
xen-tools-4.8/hooks/fedora-core-6/55-create-dev-48-    #
##############################################
xen-tools-4.8/hooks/fedora-core-6/90-make-fstab-51-    if [ -n "${disk_device}" ]; then
xen-tools-4.8/hooks/fedora-core-6/90-make-fstab:52:        device=`basename $disk_device`
xen-tools-4.8/hooks/fedora-core-6/90-make-fstab-53-    fi
##############################################
xen-tools-4.8/hooks/fedora-core-6/90-make-fstab-71-E_O_FSTAB
xen-tools-4.8/hooks/fedora-core-6/90-make-fstab:72:for part in `seq 1 ${NUMPARTITIONS}`; do
xen-tools-4.8/hooks/fedora-core-6/90-make-fstab-73-    eval "PARTITION=\"\${PARTITION${part}}\""
##############################################
xen-tools-4.8/hooks/edgy/30-disable-gettys-53-
xen-tools-4.8/hooks/edgy/30-disable-gettys:54:    serial_device=`basename ${serial_device}`
xen-tools-4.8/hooks/edgy/30-disable-gettys-55-
##############################################
xen-tools-4.8/hooks/edgy/35-setup-users-29-if (-x "$prefix/usr/sbin/pwconv") {
xen-tools-4.8/hooks/edgy/35-setup-users:30:    system( "chroot $prefix /usr/sbin/pwconv" );
xen-tools-4.8/hooks/edgy/35-setup-users-31-}
xen-tools-4.8/hooks/edgy/35-setup-users-32-if (-x "$prefix/usr/sbin/grpconv") {
xen-tools-4.8/hooks/edgy/35-setup-users:33:    system( "chroot $prefix /usr/sbin/grpconv" );
xen-tools-4.8/hooks/edgy/35-setup-users-34-}
##############################################
xen-tools-4.8/hooks/edgy/35-setup-users-175-    #
xen-tools-4.8/hooks/edgy/35-setup-users:176:    my $groups = `groups $username`;
xen-tools-4.8/hooks/edgy/35-setup-users-177-    # split off the usernmame.
##############################################
xen-tools-4.8/hooks/edgy/35-setup-users-186-        # Make sure the group exists.
xen-tools-4.8/hooks/edgy/35-setup-users:187:        system( "chroot $prefix /usr/sbin/addgroup $g" );
xen-tools-4.8/hooks/edgy/35-setup-users-188-
xen-tools-4.8/hooks/edgy/35-setup-users-189-        # add the user to it.
xen-tools-4.8/hooks/edgy/35-setup-users:190:        system( "chroot $prefix /usr/sbin/adduser $username $g" );
xen-tools-4.8/hooks/edgy/35-setup-users-191-    }
##############################################
xen-tools-4.8/hooks/edgy/40-setup-networking-128-        value=\$ip${count}
xen-tools-4.8/hooks/edgy/40-setup-networking:129:        value=`eval echo $value`
xen-tools-4.8/hooks/edgy/40-setup-networking-130-
##############################################
xen-tools-4.8/hooks/edgy/40-setup-networking-139-E_O_STATIC
xen-tools-4.8/hooks/edgy/40-setup-networking:140:        count=`expr $count + 1`
xen-tools-4.8/hooks/edgy/40-setup-networking:141:        interface=`expr $interface + 1`
xen-tools-4.8/hooks/edgy/40-setup-networking-142-    done
##############################################
xen-tools-4.8/hooks/edgy/50-setup-hostname-33-GUEST_FQDN=${hostname}
xen-tools-4.8/hooks/edgy/50-setup-hostname:34:GUEST_HOSTNAME=`echo $GUEST_FQDN | awk -F'.' '{print $1}'`
xen-tools-4.8/hooks/edgy/50-setup-hostname-35-
##############################################
xen-tools-4.8/hooks/edgy/90-make-fstab-51-    if [ -n "${disk_device}" ]; then
xen-tools-4.8/hooks/edgy/90-make-fstab:52:        device=`basename $disk_device`
xen-tools-4.8/hooks/edgy/90-make-fstab-53-    fi
##############################################
xen-tools-4.8/hooks/edgy/90-make-fstab-71-E_O_FSTAB
xen-tools-4.8/hooks/edgy/90-make-fstab:72:for part in `seq 1 ${NUMPARTITIONS}`; do
xen-tools-4.8/hooks/edgy/90-make-fstab-73-    eval "PARTITION=\"\${PARTITION${part}}\""
##############################################
xen-tools-4.8/hooks/debian/30-disable-gettys-53-
xen-tools-4.8/hooks/debian/30-disable-gettys:54:    serial_device=`basename ${serial_device}`
xen-tools-4.8/hooks/debian/30-disable-gettys-55-
##############################################
xen-tools-4.8/hooks/debian/35-setup-users-29-if (-x "$prefix/usr/sbin/pwconv") {
xen-tools-4.8/hooks/debian/35-setup-users:30:    system( "chroot $prefix /usr/sbin/pwconv" );
xen-tools-4.8/hooks/debian/35-setup-users-31-}
xen-tools-4.8/hooks/debian/35-setup-users-32-if (-x "$prefix/usr/sbin/grpconv") {
xen-tools-4.8/hooks/debian/35-setup-users:33:    system( "chroot $prefix /usr/sbin/grpconv" );
xen-tools-4.8/hooks/debian/35-setup-users-34-}
##############################################
xen-tools-4.8/hooks/debian/35-setup-users-175-    #
xen-tools-4.8/hooks/debian/35-setup-users:176:    my $groups = `groups $username`;
xen-tools-4.8/hooks/debian/35-setup-users-177-    # split off the usernmame.
##############################################
xen-tools-4.8/hooks/debian/35-setup-users-186-        # Make sure the group exists.
xen-tools-4.8/hooks/debian/35-setup-users:187:        system( "chroot $prefix /usr/sbin/addgroup $g" );
xen-tools-4.8/hooks/debian/35-setup-users-188-
xen-tools-4.8/hooks/debian/35-setup-users-189-        # add the user to it.
xen-tools-4.8/hooks/debian/35-setup-users:190:        system( "chroot $prefix /usr/sbin/adduser $username $g" );
xen-tools-4.8/hooks/debian/35-setup-users-191-    }
##############################################
xen-tools-4.8/hooks/debian/40-setup-networking-128-        value=\$ip${count}
xen-tools-4.8/hooks/debian/40-setup-networking:129:        value=`eval echo $value`
xen-tools-4.8/hooks/debian/40-setup-networking-130-
##############################################
xen-tools-4.8/hooks/debian/40-setup-networking-139-E_O_STATIC
xen-tools-4.8/hooks/debian/40-setup-networking:140:        count=`expr $count + 1`
xen-tools-4.8/hooks/debian/40-setup-networking:141:        interface=`expr $interface + 1`
xen-tools-4.8/hooks/debian/40-setup-networking-142-    done
##############################################
xen-tools-4.8/hooks/debian/50-setup-hostname-33-GUEST_FQDN=${hostname}
xen-tools-4.8/hooks/debian/50-setup-hostname:34:GUEST_HOSTNAME=`echo $GUEST_FQDN | awk -F'.' '{print $1}'`
xen-tools-4.8/hooks/debian/50-setup-hostname-35-
##############################################
xen-tools-4.8/hooks/debian/55-create-dev-46-#
xen-tools-4.8/hooks/debian/55-create-dev:47:if ( test `ls -1 ${prefix}/dev | wc -l` -gt 10 ); then
xen-tools-4.8/hooks/debian/55-create-dev-48-    #
##############################################
xen-tools-4.8/hooks/debian/90-make-fstab-51-    if [ -n "${disk_device}" ]; then
xen-tools-4.8/hooks/debian/90-make-fstab:52:        device=`basename $disk_device`
xen-tools-4.8/hooks/debian/90-make-fstab-53-    fi
##############################################
xen-tools-4.8/hooks/debian/90-make-fstab-71-E_O_FSTAB
xen-tools-4.8/hooks/debian/90-make-fstab:72:for part in `seq 1 ${NUMPARTITIONS}`; do
xen-tools-4.8/hooks/debian/90-make-fstab-73-    eval "PARTITION=\"\${PARTITION${part}}\""
##############################################
xen-tools-4.8/hooks/dapper/30-disable-gettys-53-
xen-tools-4.8/hooks/dapper/30-disable-gettys:54:    serial_device=`basename ${serial_device}`
xen-tools-4.8/hooks/dapper/30-disable-gettys-55-
##############################################
xen-tools-4.8/hooks/dapper/35-setup-users-29-if (-x "$prefix/usr/sbin/pwconv") {
xen-tools-4.8/hooks/dapper/35-setup-users:30:    system( "chroot $prefix /usr/sbin/pwconv" );
xen-tools-4.8/hooks/dapper/35-setup-users-31-}
xen-tools-4.8/hooks/dapper/35-setup-users-32-if (-x "$prefix/usr/sbin/grpconv") {
xen-tools-4.8/hooks/dapper/35-setup-users:33:    system( "chroot $prefix /usr/sbin/grpconv" );
xen-tools-4.8/hooks/dapper/35-setup-users-34-}
##############################################
xen-tools-4.8/hooks/dapper/35-setup-users-175-    #
xen-tools-4.8/hooks/dapper/35-setup-users:176:    my $groups = `groups $username`;
xen-tools-4.8/hooks/dapper/35-setup-users-177-    # split off the usernmame.
##############################################
xen-tools-4.8/hooks/dapper/35-setup-users-186-        # Make sure the group exists.
xen-tools-4.8/hooks/dapper/35-setup-users:187:        system( "chroot $prefix /usr/sbin/addgroup $g" );
xen-tools-4.8/hooks/dapper/35-setup-users-188-
xen-tools-4.8/hooks/dapper/35-setup-users-189-        # add the user to it.
xen-tools-4.8/hooks/dapper/35-setup-users:190:        system( "chroot $prefix /usr/sbin/adduser $username $g" );
xen-tools-4.8/hooks/dapper/35-setup-users-191-    }
##############################################
xen-tools-4.8/hooks/dapper/40-setup-networking-128-        value=\$ip${count}
xen-tools-4.8/hooks/dapper/40-setup-networking:129:        value=`eval echo $value`
xen-tools-4.8/hooks/dapper/40-setup-networking-130-
##############################################
xen-tools-4.8/hooks/dapper/40-setup-networking-139-E_O_STATIC
xen-tools-4.8/hooks/dapper/40-setup-networking:140:        count=`expr $count + 1`
xen-tools-4.8/hooks/dapper/40-setup-networking:141:        interface=`expr $interface + 1`
xen-tools-4.8/hooks/dapper/40-setup-networking-142-    done
##############################################
xen-tools-4.8/hooks/dapper/50-setup-hostname-33-GUEST_FQDN=${hostname}
xen-tools-4.8/hooks/dapper/50-setup-hostname:34:GUEST_HOSTNAME=`echo $GUEST_FQDN | awk -F'.' '{print $1}'`
xen-tools-4.8/hooks/dapper/50-setup-hostname-35-
##############################################
xen-tools-4.8/hooks/dapper/55-create-dev-46-#
xen-tools-4.8/hooks/dapper/55-create-dev:47:if ( test `ls -1 ${prefix}/dev | wc -l` -gt 10 ); then
xen-tools-4.8/hooks/dapper/55-create-dev-48-    #
##############################################
xen-tools-4.8/hooks/dapper/90-make-fstab-51-    if [ -n "${disk_device}" ]; then
xen-tools-4.8/hooks/dapper/90-make-fstab:52:        device=`basename $disk_device`
xen-tools-4.8/hooks/dapper/90-make-fstab-53-    fi
##############################################
xen-tools-4.8/hooks/dapper/90-make-fstab-71-E_O_FSTAB
xen-tools-4.8/hooks/dapper/90-make-fstab:72:for part in `seq 1 ${NUMPARTITIONS}`; do
xen-tools-4.8/hooks/dapper/90-make-fstab-73-    eval "PARTITION=\"\${PARTITION${part}}\""
##############################################
xen-tools-4.8/hooks/common/90-make-fstab-51-    if [ -n "${disk_device}" ]; then
xen-tools-4.8/hooks/common/90-make-fstab:52:        device=`basename $disk_device`
xen-tools-4.8/hooks/common/90-make-fstab-53-    fi
##############################################
xen-tools-4.8/hooks/common/90-make-fstab-71-E_O_FSTAB
xen-tools-4.8/hooks/common/90-make-fstab:72:for part in `seq 1 ${NUMPARTITIONS}`; do
xen-tools-4.8/hooks/common/90-make-fstab-73-    eval "PARTITION=\"\${PARTITION${part}}\""
##############################################
xen-tools-4.8/hooks/common/55-create-dev-46-#
xen-tools-4.8/hooks/common/55-create-dev:47:if ( test `ls -1 ${prefix}/dev | wc -l` -gt 10 ); then
xen-tools-4.8/hooks/common/55-create-dev-48-    #
##############################################
xen-tools-4.8/hooks/common/50-setup-hostname-rpm-95-        #
xen-tools-4.8/hooks/common/50-setup-hostname-rpm:96:        name=`echo ${hostname} | awk -F. '{print $1}'`
xen-tools-4.8/hooks/common/50-setup-hostname-rpm-97-
##############################################
xen-tools-4.8/hooks/common/50-setup-hostname-deb-33-GUEST_FQDN=${hostname}
xen-tools-4.8/hooks/common/50-setup-hostname-deb:34:GUEST_HOSTNAME=`echo $GUEST_FQDN | awk -F'.' '{print $1}'`
xen-tools-4.8/hooks/common/50-setup-hostname-deb-35-
##############################################
xen-tools-4.8/hooks/common/40-setup-networking-rpm-60-         value=\$ip${count}
xen-tools-4.8/hooks/common/40-setup-networking-rpm:61:         value=`eval echo $value`
xen-tools-4.8/hooks/common/40-setup-networking-rpm-62-
##############################################
xen-tools-4.8/hooks/common/40-setup-networking-rpm-71-E_O_STATIC
xen-tools-4.8/hooks/common/40-setup-networking-rpm:72:         count=`expr $count + 1`
xen-tools-4.8/hooks/common/40-setup-networking-rpm:73:         interface=`expr $interface + 1`
xen-tools-4.8/hooks/common/40-setup-networking-rpm-74-     done
##############################################
xen-tools-4.8/hooks/common/35-setup-users-29-if (-x "$prefix/usr/sbin/pwconv") {
xen-tools-4.8/hooks/common/35-setup-users:30:    system( "chroot $prefix /usr/sbin/pwconv" );
xen-tools-4.8/hooks/common/35-setup-users-31-}
xen-tools-4.8/hooks/common/35-setup-users-32-if (-x "$prefix/usr/sbin/grpconv") {
xen-tools-4.8/hooks/common/35-setup-users:33:    system( "chroot $prefix /usr/sbin/grpconv" );
xen-tools-4.8/hooks/common/35-setup-users-34-}
##############################################
xen-tools-4.8/hooks/common/35-setup-users-175-    #
xen-tools-4.8/hooks/common/35-setup-users:176:    my $groups = `groups $username`;
xen-tools-4.8/hooks/common/35-setup-users-177-    # split off the usernmame.
##############################################
xen-tools-4.8/hooks/common/35-setup-users-186-        # Make sure the group exists.
xen-tools-4.8/hooks/common/35-setup-users:187:        system( "chroot $prefix /usr/sbin/addgroup $g" );
xen-tools-4.8/hooks/common/35-setup-users-188-
xen-tools-4.8/hooks/common/35-setup-users-189-        # add the user to it.
xen-tools-4.8/hooks/common/35-setup-users:190:        system( "chroot $prefix /usr/sbin/adduser $username $g" );
xen-tools-4.8/hooks/common/35-setup-users-191-    }
##############################################
xen-tools-4.8/hooks/common/30-disable-gettys-53-
xen-tools-4.8/hooks/common/30-disable-gettys:54:    serial_device=`basename ${serial_device}`
xen-tools-4.8/hooks/common/30-disable-gettys-55-
##############################################
xen-tools-4.8/hooks/common/80-install-kernel-ubuntu-48-if [ $? -ne 0 ]; then
xen-tools-4.8/hooks/common/80-install-kernel-ubuntu:49:    chroot ${prefix} update-initramfs -c -k `ls -1 ${prefix}/lib/modules/ | head -n 1`
xen-tools-4.8/hooks/common/80-install-kernel-ubuntu-50-fi
##############################################
xen-tools-4.8/hooks/common/40-setup-networking-deb-128-        value=\$ip${count}
xen-tools-4.8/hooks/common/40-setup-networking-deb:129:        value=`eval echo $value`
xen-tools-4.8/hooks/common/40-setup-networking-deb-130-
##############################################
xen-tools-4.8/hooks/common/40-setup-networking-deb-139-E_O_STATIC
xen-tools-4.8/hooks/common/40-setup-networking-deb:140:        count=`expr $count + 1`
xen-tools-4.8/hooks/common/40-setup-networking-deb:141:        interface=`expr $interface + 1`
xen-tools-4.8/hooks/common/40-setup-networking-deb-142-    done
##############################################
xen-tools-4.8/hooks/centos-6/25-setup-kernel-40-
xen-tools-4.8/hooks/centos-6/25-setup-kernel:41:for i in `seq 1 $NUMPARTITIONS`; do
xen-tools-4.8/hooks/centos-6/25-setup-kernel-42-  echo -n "/dev/sda$i " >> ${prefix}/etc/fstab
xen-tools-4.8/hooks/centos-6/25-setup-kernel-43-  eval part=\$PARTITION$i
xen-tools-4.8/hooks/centos-6/25-setup-kernel:44:  if [ -n "`echo $part | grep swap`" ]; then
xen-tools-4.8/hooks/centos-6/25-setup-kernel-45-     echo "none swap ws 0 0" >> ${prefix}/etc/fstab
##############################################
xen-tools-4.8/hooks/centos-6/25-setup-kernel-54-
xen-tools-4.8/hooks/centos-6/25-setup-kernel:55:KERNELVERSION=`ls ${prefix}/boot/vmlinuz-* | sed "s#$prefix/boot/vmlinuz-##"`
xen-tools-4.8/hooks/centos-6/25-setup-kernel-56-logMessage "Kernel $KERNELVERSION found"
##############################################
xen-tools-4.8/hooks/centos-6/30-disable-gettys-53-
xen-tools-4.8/hooks/centos-6/30-disable-gettys:54:    serial_device=`basename ${serial_device}`
xen-tools-4.8/hooks/centos-6/30-disable-gettys-55-
##############################################
xen-tools-4.8/hooks/centos-6/35-setup-users-29-if (-x "$prefix/usr/sbin/pwconv") {
xen-tools-4.8/hooks/centos-6/35-setup-users:30:    system( "chroot $prefix /usr/sbin/pwconv" );
xen-tools-4.8/hooks/centos-6/35-setup-users-31-}
xen-tools-4.8/hooks/centos-6/35-setup-users-32-if (-x "$prefix/usr/sbin/grpconv") {
xen-tools-4.8/hooks/centos-6/35-setup-users:33:    system( "chroot $prefix /usr/sbin/grpconv" );
xen-tools-4.8/hooks/centos-6/35-setup-users-34-}
##############################################
xen-tools-4.8/hooks/centos-6/35-setup-users-175-    #
xen-tools-4.8/hooks/centos-6/35-setup-users:176:    my $groups = `groups $username`;
xen-tools-4.8/hooks/centos-6/35-setup-users-177-    # split off the usernmame.
##############################################
xen-tools-4.8/hooks/centos-6/35-setup-users-186-        # Make sure the group exists.
xen-tools-4.8/hooks/centos-6/35-setup-users:187:        system( "chroot $prefix /usr/sbin/addgroup $g" );
xen-tools-4.8/hooks/centos-6/35-setup-users-188-
xen-tools-4.8/hooks/centos-6/35-setup-users-189-        # add the user to it.
xen-tools-4.8/hooks/centos-6/35-setup-users:190:        system( "chroot $prefix /usr/sbin/adduser $username $g" );
xen-tools-4.8/hooks/centos-6/35-setup-users-191-    }
##############################################
xen-tools-4.8/hooks/centos-6/40-setup-networking-60-         value=\$ip${count}
xen-tools-4.8/hooks/centos-6/40-setup-networking:61:         value=`eval echo $value`
xen-tools-4.8/hooks/centos-6/40-setup-networking-62-
##############################################
xen-tools-4.8/hooks/centos-6/40-setup-networking-71-E_O_STATIC
xen-tools-4.8/hooks/centos-6/40-setup-networking:72:         count=`expr $count + 1`
xen-tools-4.8/hooks/centos-6/40-setup-networking:73:         interface=`expr $interface + 1`
xen-tools-4.8/hooks/centos-6/40-setup-networking-74-     done
##############################################
xen-tools-4.8/hooks/centos-6/50-setup-hostname-95-        #
xen-tools-4.8/hooks/centos-6/50-setup-hostname:96:        name=`echo ${hostname} | awk -F. '{print $1}'`
xen-tools-4.8/hooks/centos-6/50-setup-hostname-97-
##############################################
xen-tools-4.8/hooks/centos-6/55-create-dev-46-#
xen-tools-4.8/hooks/centos-6/55-create-dev:47:if ( test `ls -1 ${prefix}/dev | wc -l` -gt 10 ); then
xen-tools-4.8/hooks/centos-6/55-create-dev-48-    #
##############################################
xen-tools-4.8/hooks/centos-6/90-make-fstab-51-    if [ -n "${disk_device}" ]; then
xen-tools-4.8/hooks/centos-6/90-make-fstab:52:        device=`basename $disk_device`
xen-tools-4.8/hooks/centos-6/90-make-fstab-53-    fi
##############################################
xen-tools-4.8/hooks/centos-6/90-make-fstab-71-E_O_FSTAB
xen-tools-4.8/hooks/centos-6/90-make-fstab:72:for part in `seq 1 ${NUMPARTITIONS}`; do
xen-tools-4.8/hooks/centos-6/90-make-fstab-73-    eval "PARTITION=\"\${PARTITION${part}}\""
##############################################
xen-tools-4.8/hooks/centos-5/25-setup-kernel-40-
xen-tools-4.8/hooks/centos-5/25-setup-kernel:41:for i in `seq 1 $NUMPARTITIONS`; do
xen-tools-4.8/hooks/centos-5/25-setup-kernel-42-  echo -n "/dev/xvde$i " >> ${prefix}/etc/fstab
xen-tools-4.8/hooks/centos-5/25-setup-kernel-43-  eval part=\$PARTITION$i
xen-tools-4.8/hooks/centos-5/25-setup-kernel:44:  if [ -n "`echo $part | grep swap`" ]; then
xen-tools-4.8/hooks/centos-5/25-setup-kernel-45-     echo "none swap ws 0 0" >> ${prefix}/etc/fstab
##############################################
xen-tools-4.8/hooks/centos-5/25-setup-kernel-54-
xen-tools-4.8/hooks/centos-5/25-setup-kernel:55:KERNELVERSION=`ls ${prefix}/boot/vmlinuz-* | sed "s#$prefix/boot/vmlinuz-##"`
xen-tools-4.8/hooks/centos-5/25-setup-kernel-56-logMessage "Kernel $KERNELVERSION found"
##############################################
xen-tools-4.8/hooks/centos-5/30-disable-gettys-53-
xen-tools-4.8/hooks/centos-5/30-disable-gettys:54:    serial_device=`basename ${serial_device}`
xen-tools-4.8/hooks/centos-5/30-disable-gettys-55-
##############################################
xen-tools-4.8/hooks/centos-5/35-setup-users-29-if (-x "$prefix/usr/sbin/pwconv") {
xen-tools-4.8/hooks/centos-5/35-setup-users:30:    system( "chroot $prefix /usr/sbin/pwconv" );
xen-tools-4.8/hooks/centos-5/35-setup-users-31-}
xen-tools-4.8/hooks/centos-5/35-setup-users-32-if (-x "$prefix/usr/sbin/grpconv") {
xen-tools-4.8/hooks/centos-5/35-setup-users:33:    system( "chroot $prefix /usr/sbin/grpconv" );
xen-tools-4.8/hooks/centos-5/35-setup-users-34-}
##############################################
xen-tools-4.8/hooks/centos-5/35-setup-users-175-    #
xen-tools-4.8/hooks/centos-5/35-setup-users:176:    my $groups = `groups $username`;
xen-tools-4.8/hooks/centos-5/35-setup-users-177-    # split off the usernmame.
##############################################
xen-tools-4.8/hooks/centos-5/35-setup-users-186-        # Make sure the group exists.
xen-tools-4.8/hooks/centos-5/35-setup-users:187:        system( "chroot $prefix /usr/sbin/addgroup $g" );
xen-tools-4.8/hooks/centos-5/35-setup-users-188-
xen-tools-4.8/hooks/centos-5/35-setup-users-189-        # add the user to it.
xen-tools-4.8/hooks/centos-5/35-setup-users:190:        system( "chroot $prefix /usr/sbin/adduser $username $g" );
xen-tools-4.8/hooks/centos-5/35-setup-users-191-    }
##############################################
xen-tools-4.8/hooks/centos-5/40-setup-networking-60-         value=\$ip${count}
xen-tools-4.8/hooks/centos-5/40-setup-networking:61:         value=`eval echo $value`
xen-tools-4.8/hooks/centos-5/40-setup-networking-62-
##############################################
xen-tools-4.8/hooks/centos-5/40-setup-networking-71-E_O_STATIC
xen-tools-4.8/hooks/centos-5/40-setup-networking:72:         count=`expr $count + 1`
xen-tools-4.8/hooks/centos-5/40-setup-networking:73:         interface=`expr $interface + 1`
xen-tools-4.8/hooks/centos-5/40-setup-networking-74-     done
##############################################
xen-tools-4.8/hooks/centos-5/50-setup-hostname-95-        #
xen-tools-4.8/hooks/centos-5/50-setup-hostname:96:        name=`echo ${hostname} | awk -F. '{print $1}'`
xen-tools-4.8/hooks/centos-5/50-setup-hostname-97-
##############################################
xen-tools-4.8/hooks/centos-5/55-create-dev-46-#
xen-tools-4.8/hooks/centos-5/55-create-dev:47:if ( test `ls -1 ${prefix}/dev | wc -l` -gt 10 ); then
xen-tools-4.8/hooks/centos-5/55-create-dev-48-    #
##############################################
xen-tools-4.8/hooks/centos-5/90-make-fstab-51-    if [ -n "${disk_device}" ]; then
xen-tools-4.8/hooks/centos-5/90-make-fstab:52:        device=`basename $disk_device`
xen-tools-4.8/hooks/centos-5/90-make-fstab-53-    fi
##############################################
xen-tools-4.8/hooks/centos-5/90-make-fstab-71-E_O_FSTAB
xen-tools-4.8/hooks/centos-5/90-make-fstab:72:for part in `seq 1 ${NUMPARTITIONS}`; do
xen-tools-4.8/hooks/centos-5/90-make-fstab-73-    eval "PARTITION=\"\${PARTITION${part}}\""
##############################################
xen-tools-4.8/hooks/centos-4/30-disable-gettys-53-
xen-tools-4.8/hooks/centos-4/30-disable-gettys:54:    serial_device=`basename ${serial_device}`
xen-tools-4.8/hooks/centos-4/30-disable-gettys-55-
##############################################
xen-tools-4.8/hooks/centos-4/35-setup-users-29-if (-x "$prefix/usr/sbin/pwconv") {
xen-tools-4.8/hooks/centos-4/35-setup-users:30:    system( "chroot $prefix /usr/sbin/pwconv" );
xen-tools-4.8/hooks/centos-4/35-setup-users-31-}
xen-tools-4.8/hooks/centos-4/35-setup-users-32-if (-x "$prefix/usr/sbin/grpconv") {
xen-tools-4.8/hooks/centos-4/35-setup-users:33:    system( "chroot $prefix /usr/sbin/grpconv" );
xen-tools-4.8/hooks/centos-4/35-setup-users-34-}
##############################################
xen-tools-4.8/hooks/centos-4/35-setup-users-175-    #
xen-tools-4.8/hooks/centos-4/35-setup-users:176:    my $groups = `groups $username`;
xen-tools-4.8/hooks/centos-4/35-setup-users-177-    # split off the usernmame.
##############################################
xen-tools-4.8/hooks/centos-4/35-setup-users-186-        # Make sure the group exists.
xen-tools-4.8/hooks/centos-4/35-setup-users:187:        system( "chroot $prefix /usr/sbin/addgroup $g" );
xen-tools-4.8/hooks/centos-4/35-setup-users-188-
xen-tools-4.8/hooks/centos-4/35-setup-users-189-        # add the user to it.
xen-tools-4.8/hooks/centos-4/35-setup-users:190:        system( "chroot $prefix /usr/sbin/adduser $username $g" );
xen-tools-4.8/hooks/centos-4/35-setup-users-191-    }
##############################################
xen-tools-4.8/hooks/centos-4/40-setup-networking-60-         value=\$ip${count}
xen-tools-4.8/hooks/centos-4/40-setup-networking:61:         value=`eval echo $value`
xen-tools-4.8/hooks/centos-4/40-setup-networking-62-
##############################################
xen-tools-4.8/hooks/centos-4/40-setup-networking-71-E_O_STATIC
xen-tools-4.8/hooks/centos-4/40-setup-networking:72:         count=`expr $count + 1`
xen-tools-4.8/hooks/centos-4/40-setup-networking:73:         interface=`expr $interface + 1`
xen-tools-4.8/hooks/centos-4/40-setup-networking-74-     done
##############################################
xen-tools-4.8/hooks/centos-4/50-setup-hostname-95-        #
xen-tools-4.8/hooks/centos-4/50-setup-hostname:96:        name=`echo ${hostname} | awk -F. '{print $1}'`
xen-tools-4.8/hooks/centos-4/50-setup-hostname-97-
##############################################
xen-tools-4.8/hooks/centos-4/55-create-dev-46-#
xen-tools-4.8/hooks/centos-4/55-create-dev:47:if ( test `ls -1 ${prefix}/dev | wc -l` -gt 10 ); then
xen-tools-4.8/hooks/centos-4/55-create-dev-48-    #
##############################################
xen-tools-4.8/hooks/centos-4/90-make-fstab-51-    if [ -n "${disk_device}" ]; then
xen-tools-4.8/hooks/centos-4/90-make-fstab:52:        device=`basename $disk_device`
xen-tools-4.8/hooks/centos-4/90-make-fstab-53-    fi
##############################################
xen-tools-4.8/hooks/centos-4/90-make-fstab-71-E_O_FSTAB
xen-tools-4.8/hooks/centos-4/90-make-fstab:72:for part in `seq 1 ${NUMPARTITIONS}`; do
xen-tools-4.8/hooks/centos-4/90-make-fstab-73-    eval "PARTITION=\"\${PARTITION${part}}\""
##############################################
xen-tools-4.8/hooks/artful/30-disable-gettys-53-
xen-tools-4.8/hooks/artful/30-disable-gettys:54:    serial_device=`basename ${serial_device}`
xen-tools-4.8/hooks/artful/30-disable-gettys-55-
##############################################
xen-tools-4.8/hooks/artful/35-setup-users-29-if (-x "$prefix/usr/sbin/pwconv") {
xen-tools-4.8/hooks/artful/35-setup-users:30:    system( "chroot $prefix /usr/sbin/pwconv" );
xen-tools-4.8/hooks/artful/35-setup-users-31-}
xen-tools-4.8/hooks/artful/35-setup-users-32-if (-x "$prefix/usr/sbin/grpconv") {
xen-tools-4.8/hooks/artful/35-setup-users:33:    system( "chroot $prefix /usr/sbin/grpconv" );
xen-tools-4.8/hooks/artful/35-setup-users-34-}
##############################################
xen-tools-4.8/hooks/artful/35-setup-users-175-    #
xen-tools-4.8/hooks/artful/35-setup-users:176:    my $groups = `groups $username`;
xen-tools-4.8/hooks/artful/35-setup-users-177-    # split off the usernmame.
##############################################
xen-tools-4.8/hooks/artful/35-setup-users-186-        # Make sure the group exists.
xen-tools-4.8/hooks/artful/35-setup-users:187:        system( "chroot $prefix /usr/sbin/addgroup $g" );
xen-tools-4.8/hooks/artful/35-setup-users-188-
xen-tools-4.8/hooks/artful/35-setup-users-189-        # add the user to it.
xen-tools-4.8/hooks/artful/35-setup-users:190:        system( "chroot $prefix /usr/sbin/adduser $username $g" );
xen-tools-4.8/hooks/artful/35-setup-users-191-    }
##############################################
xen-tools-4.8/hooks/artful/50-setup-hostname-33-GUEST_FQDN=${hostname}
xen-tools-4.8/hooks/artful/50-setup-hostname:34:GUEST_HOSTNAME=`echo $GUEST_FQDN | awk -F'.' '{print $1}'`
xen-tools-4.8/hooks/artful/50-setup-hostname-35-
##############################################
xen-tools-4.8/hooks/artful/80-install-kernel-ubuntu-48-if [ $? -ne 0 ]; then
xen-tools-4.8/hooks/artful/80-install-kernel-ubuntu:49:    chroot ${prefix} update-initramfs -c -k `ls -1 ${prefix}/lib/modules/ | head -n 1`
xen-tools-4.8/hooks/artful/80-install-kernel-ubuntu-50-fi
##############################################
xen-tools-4.8/hooks/artful/90-make-fstab-51-    if [ -n "${disk_device}" ]; then
xen-tools-4.8/hooks/artful/90-make-fstab:52:        device=`basename $disk_device`
xen-tools-4.8/hooks/artful/90-make-fstab-53-    fi
##############################################
xen-tools-4.8/hooks/artful/90-make-fstab-71-E_O_FSTAB
xen-tools-4.8/hooks/artful/90-make-fstab:72:for part in `seq 1 ${NUMPARTITIONS}`; do
xen-tools-4.8/hooks/artful/90-make-fstab-73-    eval "PARTITION=\"\${PARTITION${part}}\""
##############################################
xen-tools-4.8/examples/update-modules-84-        my $img =  $CONFIG{'dir'} . "/domains/" . $guest . "/disk.img";
xen-tools-4.8/examples/update-modules:85:        system( "mount -o loop $img $tmp" );
xen-tools-4.8/examples/update-modules-86-    }
##############################################
xen-tools-4.8/examples/update-modules-90-        my $img = "/dev/" . $CONFIG{'lvm'} . "/$guest-disk";
xen-tools-4.8/examples/update-modules:91:        system( "mount $img $tmp" );
xen-tools-4.8/examples/update-modules-92-    }
##############################################
xen-tools-4.8/examples/update-modules-113-    #
xen-tools-4.8/examples/update-modules:114:    `rm -rf  $tmp/lib/modules`;
xen-tools-4.8/examples/update-modules-115-    mkdir $tmp . "/lib/modules";
##############################################
xen-tools-4.8/examples/update-modules-122-    {
xen-tools-4.8/examples/update-modules:123:        `cp -R $modules $tmp/lib/modules/`;
xen-tools-4.8/examples/update-modules-124-        print "\tCopied over $modules\n";
##############################################
xen-tools-4.8/examples/update-modules-133-    #
xen-tools-4.8/examples/update-modules:134:    system( "umount $tmp" );
xen-tools-4.8/examples/update-modules-135-    print "\tUnmounted disk image.\n\n";
##############################################
xen-tools-4.8/ChangeLog-841-    `@array = undef` doesn't empty an array but fills it with one item
xen-tools-4.8/ChangeLog:842:    which is undef. Hence `$#array` is zero and hence false.
xen-tools-4.8/ChangeLog-843-    
xen-tools-4.8/ChangeLog-844-    Since the commit above, `@array = ()` was used instead of `@array =
xen-tools-4.8/ChangeLog:845:    undef`, hence `$#array` no more was false when the array seemed to be
xen-tools-4.8/ChangeLog-846-    empty (but wasn't). This caused an empty partition table in the
##############################################
xen-tools-4.8/ChangeLog-848-    
xen-tools-4.8/ChangeLog:849:    This commit fixes the according `!$#array` to just `!@array` and adds
xen-tools-4.8/ChangeLog-850-    the according changelog entry for both commits. (I initially thought