summaryrefslogtreecommitdiff
path: root/fml/libexec
diff options
context:
space:
mode:
authorfukachan <fukachan>2001-11-12 13:33:48 +0000
committerfukachan <fukachan>2001-11-12 13:33:48 +0000
commitf704dd71cf66feb1f75027b27944899a461e5725 (patch)
tree8ac7f37f32a44d7448a56b7f0d17be093804e564 /fml/libexec
parentc89600b674ec44756752b7da104686ad64b42f14 (diff)
downloadfml8-f704dd71cf66feb1f75027b27944899a461e5725.tar.gz
fml8-f704dd71cf66feb1f75027b27944899a461e5725.tar.bz2
fml8-f704dd71cf66feb1f75027b27944899a461e5725.zip
loader generated from loader.in (autoconf)
Diffstat (limited to 'fml/libexec')
-rwxr-xr-xfml/libexec/loader9
1 files changed, 5 insertions, 4 deletions
diff --git a/fml/libexec/loader b/fml/libexec/loader
index b3a31026..dcf2ebe1 100755
--- a/fml/libexec/loader
+++ b/fml/libexec/loader
@@ -1,21 +1,22 @@
-#!/usr/local/bin/perl -w
+#! /usr/local/bin/perl -w
#-*- perl -*-
#
# Copyright (C) 2000-2001 Ken'ichi Fukamachi
# All rights reserved.
#
-# $FML: loader,v 1.19 2001/11/09 00:03:31 fukachan Exp $
+# $FML: loader,v 1.20 2001/11/10 04:00:26 fukachan Exp $
#
eval 'exec /usr/local/bin/perl -S $0 ${1+"$@"}'
if $running_under_some_shell;
-use vars qw($MainCF $running_under_some_shell);
+use vars qw($ConfDir $MainCF $running_under_some_shell);
use strict;
use Carp;
# main configuration file for directory switch
-$MainCF = '/etc/fml/main.cf';
+$ConfDir = '/etc/fml';
+$MainCF = "$ConfDir/main.cf";
eval q{ &Bootstrap();};
if ($@) { print STDERR "Error: ", $@, "\n"; exit 1;}