* Make sure that dhclient properly sets the hostname after reboots.

svn path=/nixpkgs/branches/modular-python/; revision=26659
This commit is contained in:
Eelco Dolstra
2011-04-01 15:04:20 +00:00
parent 1f01ba2ce4
commit 601aeb1aa8
2 changed files with 19 additions and 0 deletions
+5
View File
@@ -13,6 +13,11 @@ stdenv.mkDerivation rec {
# recover when the wlan interface goes down. Instead just flush
# all addresses, routes and neighbours of the interface.
./flush-if.patch
# Make sure that the hostname gets set on reboot. Without this
# patch, the hostname doesn't get set properly if the old
# hostname (i.e. before reboot) is equal to the new hostname.
./set-hostname.patch
];
# Fixes "socket.c:591: error: invalid application of 'sizeof' to