it's not found in the config/ dir
-#!/usr/bin/perl
+#/usr/bin/perl
#
# You need to change the above line to the location of Perl on your machine.
# And yes, I realized that I am reinventing the functionality of make here -
my( $os ) = @_;
my $file;
+ # If spong.conf file not present, copy a know good one
+ if ( ! -f "./config/spong.conf" ) {
+ ssystem( "cp ./config/spong.conf-sample ./config/spong.conf");
+ }
+
ssystem( "mkdir ./etc" ) if ! -d "./etc";
ssystem( "cp ./config/spong.conf ./etc/spong.conf" );
ssystem( "cp ./config/spong.hosts ./etc/spong.hosts" );