This website works better with JavaScript.
Explore
Register
Sign In
kernel
/
dracut
mirror of
https://git.kernel.org/pub/scm/boot/dracut/dracut.git/
Watch
1
Star
0
Fork
You've already forked dracut
0
Code
Issues
Projects
Releases
Wiki
Activity
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1153
Commits
1
Branch
68
Tags
6.7 MiB
Tree:
4bb570c9a4
master
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
001
002
003
004
005
006
007
008
009
010
011
012
013
014
015
016
017
018
019
020
021
022
023
024
025
026
027
028
029
030
031
032
033
033-502
034
035
036
037
038
039
040
041
042
043
044
045
046
047
048
049
050
051
052
053
054
055
056
RHEL-7.1
RHEL-7.2
Branches
Tags
${ item.name }
Create tag
${ searchTerm }
Create branch
${ searchTerm }
from '4bb570c9a4'
${ noResults }
dracut
/
modules.d
/
40network
/
kill-dhclient.sh
8 lines
109 B
Raw
Normal View
History
Unescape
Escape
We now know how to configure the network interfaces. Provided that you are configuring them via DHCP. RARP, BOOTP, and static configuration are not written yet. Also, adding nic drivers really bloats the initrd. I am looking for feedback on these patches from people who actually implement booting over the network. This patch series does not include support for that yet -- you will not find nfsroot= handling, or booting to a fs supplied by dhcp yet. I do want to make it as easy as possible to add support for booting over the network, as well as making it easy for people to customize things to meet their site requirements. This patch series is also available as the network-configurability branch at http://git.fnordovax.org/dracut. It may be rebased without warning to keep it in sync with the rest of dracut.
16 years ago
#!/bin/sh
add full patch to /sbin/ip and check for dhclient $pid before kill
16 years ago
Move all files generated during initrd runtime to /tmp
16 years ago
for
f in /tmp/dhclient.*.pid
;
do
Get rid of cat and grep
16 years ago
[
-e
$f
]
||
continue
read
PID <
$f
;
kill
$PID
;
network: prepare network configuration engine for udev-based nfsroot This changes the network config to run dhclient from within udev, and allows multiple dhclients to run at once. It also sets the hostname and adds a kernel command line option 'netdebug' to help debug network issues.
16 years ago
done