diff options
Diffstat (limited to 'network/NetworkManager')
-rw-r--r-- | network/NetworkManager/NetworkManager.SlackBuild | 4 | ||||
-rw-r--r-- | network/NetworkManager/nm-system-settings.conf.new | 5 |
2 files changed, 8 insertions, 1 deletions
diff --git a/network/NetworkManager/NetworkManager.SlackBuild b/network/NetworkManager/NetworkManager.SlackBuild index c4b8b5aeac..2ff696cc80 100644 --- a/network/NetworkManager/NetworkManager.SlackBuild +++ b/network/NetworkManager/NetworkManager.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=NetworkManager VERSION=${VERSION:-0.8.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -98,6 +98,8 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r mv $PKG/etc/rc.d/rc.networkmanager $PKG/etc/rc.d/rc.networkmanager.new # Add a 'starter' nm-system-settings.conf file +# This sets the hostname (during postinstall) to match the system's name +# and defines dhcpcd as the dhcp client to use mkdir -p $PKG/etc/NetworkManager cat $CWD/nm-system-settings.conf.new > \ $PKG/etc/NetworkManager/nm-system-settings.conf.new diff --git a/network/NetworkManager/nm-system-settings.conf.new b/network/NetworkManager/nm-system-settings.conf.new index eca86b84f8..9a57be16bd 100644 --- a/network/NetworkManager/nm-system-settings.conf.new +++ b/network/NetworkManager/nm-system-settings.conf.new @@ -1,5 +1,10 @@ +# /etc/NetworkManager/nm-system-settings.conf +# +# See NetworkManager.conf(5) for more information on this file + [main] plugins=keyfile +dhcp=dhcpcd [keyfile] hostname=yourhostname |