mirror of
https://github.com/fspc/gbootroot.git
synced 2025-04-04 07:43:22 -04:00
Better net expl. for new uml behavior.
This commit is contained in:
parent
faeba22f20
commit
38b2b6dab2
@ -164,15 +164,18 @@ $Id
|
|||||||
/etc/hosts.deny
|
/etc/hosts.deny
|
||||||
|
|
||||||
# Network stuff
|
# Network stuff
|
||||||
# You will want to edit the interfaces file.
|
#
|
||||||
# Remember to load any needed modules on the host system, for instance
|
# You will want to edit the /etc/network/interfaces file.
|
||||||
# if tap is used, you will want to do this:
|
# Make sure your host system kernel has the proper capabilities compiled
|
||||||
# modprobe ethertap
|
# or the appropriate module, for instance if tap is used you need the
|
||||||
# modprobe netlink_dev
|
# ethertap and netlink_dev modules.
|
||||||
|
#
|
||||||
# And when you start your creation with the uml box you will want to add
|
# And when you start your creation with the uml box you will want to add
|
||||||
# something like this to the options where HWaddr (see ifconfig) belongs
|
# something like this to the options where HWaddr (see ifconfig) belongs
|
||||||
# to your network device:
|
# to your network device:
|
||||||
|
#
|
||||||
# eth0=ethertap,tap0,HWaddr,192.168.1.5
|
# eth0=ethertap,tap0,HWaddr,192.168.1.5
|
||||||
|
#
|
||||||
/etc/resolv.conf
|
/etc/resolv.conf
|
||||||
/etc/hosts <= Replacements/etc/hosts
|
/etc/hosts <= Replacements/etc/hosts
|
||||||
#/root/umlnet <= Replacements/root/umlnet # Example network setup script
|
#/root/umlnet <= Replacements/root/umlnet # Example network setup script
|
||||||
@ -264,7 +267,7 @@ return $stuff;
|
|||||||
use strict;
|
use strict;
|
||||||
use File::Basename;
|
use File::Basename;
|
||||||
my $rm = "\$";
|
my $rm = "\$";
|
||||||
$main::Id = "# \$Id: make_debian-X11,v 1.39 2001/12/13 05:29:23 freesource Exp $rm";
|
$main::Id = "# \$Id: make_debian-X11,v 1.40 2001/12/13 05:43:28 freesource Exp $rm";
|
||||||
my $sbin = grep(/\/usr\/sbin/,$ENV{'PATH'});
|
my $sbin = grep(/\/usr\/sbin/,$ENV{'PATH'});
|
||||||
if ($sbin == 0) {
|
if ($sbin == 0) {
|
||||||
$ENV{'PATH'} = "/usr/sbin:" . $ENV{'PATH'};
|
$ENV{'PATH'} = "/usr/sbin:" . $ENV{'PATH'};
|
||||||
@ -830,9 +833,3 @@ sub start_up {
|
|||||||
}
|
}
|
||||||
|
|
||||||
} # end start_up
|
} # end start_up
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user