Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
archiso
Commits
38b81f03
Commit
38b81f03
authored
Sep 29, 2016
by
Christian Hesse
😜
Committed by
Gerardo Exequiel Pozzi
Sep 29, 2016
Browse files
pxe-common: add a comment what added settings to resolv.conf
Signed-off-by:
Christian Hesse
<
mail@eworm.de
>
parent
43a8571a
Changes
1
Hide whitespace changes
Inline
Side-by-side
archiso/initcpio/hooks/archiso_pxe_common
View file @
38b81f03
...
...
@@ -39,7 +39,8 @@ run_hook () {
# setup DNS resolver
if
[[
"
${
IPV4DNS0
}
"
!=
"0.0.0.0"
]]
;
then
echo
"nameserver
${
IPV4DNS0
}
"
>
/etc/resolv.conf
echo
"# added by archiso_pxe_common hook"
>
/etc/resolv.conf
echo
"nameserver
${
IPV4DNS0
}
"
>>
/etc/resolv.conf
fi
if
[[
"
${
IPV4DNS1
}
"
!=
"0.0.0.0"
]]
;
then
echo
"nameserver
${
IPV4DNS1
}
"
>>
/etc/resolv.conf
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment