projects
/
hvlinux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
-Réglé problème de démarrage de Firefox: prenait 4 ou 5 fois avant de démarrer;
[hvlinux.git]
/
stage2
/
pkg
/
dhcp
diff --git
a/stage2/pkg/dhcp
b/stage2/pkg/dhcp
index
5f640d4
..
1cb301a
100644
(file)
--- a/
stage2/pkg/dhcp
+++ b/
stage2/pkg/dhcp
@@
-41,6
+41,15
@@
EOF
sed -i -e "s!_DOMAIN_!${DOMAIN}!g" /etc/dhclient.conf
sed -i -e "s!_DOMAIN_!${DOMAIN}!g" /etc/dhclient.conf
+ cat > /etc/dhclient-enter-hooks << "EOF"
+# If named is running, do not let dhclient create or modify resolv.conf
+# by specifyng an empty function hook:
+make_resolv_conf(){
+ :
+}
+EOF
+ chmod u+x /etc/dhclient-enter-hooks
+
cat > /etc/sysconfig/network/dhcp-client << "EOF"
# dhcp-client
# DHCP client program informations
cat > /etc/sysconfig/network/dhcp-client << "EOF"
# dhcp-client
# DHCP client program informations