summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakxservices
blob: 5da4b4464261ade8c694e91038c3aeb1f0b4e750 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/perl

use strict;
use lib qw(/usr/lib/libDrakX);

use standalone;     #- warning, standalone must be loaded very first, for 'explanations'

use common;
use interactive;
use services;
use log;

my $in = 'interactive'->vnew('su');
begin:
my $l = services::ask($in);
services::doit($in, $l) if $l;
$in->exit(0);