/[pxelator]/config.pl
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /config.pl

Parent Directory Parent Directory | Revision Log Revision Log


Revision 17 - (show annotations)
Tue Jul 28 10:29:33 2009 UTC (14 years, 8 months ago) by dpavlin
File MIME type: text/plain
File size: 462 byte(s)
read data from filesystem files and symlinks in conf/

1
2 if ( ! $server_ip ) {
3 $server_ip = `/sbin/ifconfig`;
4 $server_ip =~ s/^.+?addr:([\d\.]+).*$/$1/gs;
5 warn "auto-configure server ip to $server_ip\n";
6 } else {
7 warn "server ip $server_ip\n";
8 }
9
10 # $file = 'undionly.kpxe';
11 $file = 'pxelinux.0';
12
13 $next_file = 'tinycore/tftp.gpxe';
14 #$next_file = "http://$server_ip/pxelator/tinycore/http.gpxe";
15 #$next_file = "tinycore/http.gpxe";
16 #$next_file = "menu.gpxe";
17 #$next_file = "debirf.gpxe";
18 #$next_file = "dos.gpxe";
19

  ViewVC Help
Powered by ViewVC 1.1.26