NAME

restart -- call bin/minivend -r with possible su

VERSION

1.0

SYNOPSIS

restart [-f]

DESCRIPTION

The restart script just tries to execute minivend -r with the proper permissions. If the user is "root", a prompt will be made to see if you want to start as the guessed user ID. (This is the contents of the $Global::VendRoot/_uid file.)

OPTIONS

The -f flag prevents the prompt for superuser and forces quiet mode; this is how you might call MiniVend from a system startup script.

SEE ALSO

minivend(8), http://www.minivend.com

AUTHOR

Mike Heins, <mikeh@minivend.com>

_EoP_ s{.*\n(#(.*)~_~(\w+)~_~(.*))}{$2 . doit($3) . "$4\n$1"}eg; my $file = $0; $file =~ s/\.PL$//; open(OUT, ">$file") or die "Create $file: $!\n"; print OUT $_; }