3 use FS::UID qw(adminsuidsetup);
6 adminsuidsetup('ivan');
8 my $conf = new FS::Conf;
10 my $file2 = pop @ARGV;
11 my $file1 = pop @ARGV;
13 open(FILE1, ">/tmp/$file1") or die "can't open /tmp/$file1: $!";
14 print FILE1 $conf->config($file1);
16 close FILE1 or die $!;
18 open(FILE2, ">/tmp/$file2") or die "can't open /tmp/$file2: $!";
19 print FILE2 $conf->config($file2);
21 close FILE2 or die $!;
25 system('diff', @opt, "/tmp/$file1", "/tmp/$file2");
27 #unlink("/tmp/$file1', "/tmp/$file2");