-
Notifications
You must be signed in to change notification settings - Fork 400
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(net-lib): add a new dracut module called net-lib
- Loading branch information
1 parent
4980bad
commit 94ce821
Showing
13 changed files
with
30 additions
and
114 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,7 @@ check() { | |
|
||
# called by dracut | ||
depends() { | ||
echo net-lib | ||
return 0 | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ check() { | |
|
||
# called by dracut | ||
depends() { | ||
echo dbus bash | ||
echo dbus bash net-lib | ||
return 0 | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/bin/bash | ||
|
||
check() { | ||
return 255 | ||
} | ||
|
||
depends() { | ||
echo base | ||
return 0 | ||
} | ||
|
||
install() { | ||
inst_script "$moddir/netroot.sh" "/sbin/netroot" | ||
inst_simple "$moddir/net-lib.sh" "/lib/net-lib.sh" | ||
inst_hook pre-udev 50 "$moddir/ifname-genrules.sh" | ||
inst_hook cmdline 91 "$moddir/dhcp-root.sh" | ||
inst_multiple ip sed awk grep pgrep tr | ||
inst_multiple -o arping arping2 | ||
dracut_need_initqueue | ||
} |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters