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

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

use common qw(:common :functional :file);
use interactive;
use standalone;
use services;
use log;

local $_ = join '', @ARGV;

/-h/ and die "usage: drakxservices\n";


my $in = vnew interactive('su');
my $l = services::ask($in);
services::doit($in, $l) if $l;

$in->exit(0);