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

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

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

local $_ = join '', @ARGV;

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

$::isStandalone = 1;

services::drakxservices(my $in = vnew interactive('su'));

$in->exit(0);