TightVNC Server for WPKG on iPasserelle
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
{
|
|
my $rec = $DB->get('wpkg') || $DB->new_record('wpkg', { type => 'service' });
|
|
my $pw = $rec->prop('VNCPassword');
|
|
|
|
if (not $pw){
|
|
$pw = `/usr/bin/openssl rand -base64 6`;
|
|
chomp($pw);
|
|
$rec->set_prop('VNCPassword', $pw);
|
|
}
|
|
}
|
|
|