From a6ee79ea22470391a56463aa6f077cd690429574 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Wed, 10 Feb 2016 01:29:10 +0100 Subject: [PATCH] postinstall script: Only call dhclient in thinkpad. --- jessie_postinstall.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/jessie_postinstall.sh b/jessie_postinstall.sh index 939d6a4..06d95f2 100755 --- a/jessie_postinstall.sh +++ b/jessie_postinstall.sh @@ -97,7 +97,9 @@ if [ "$1" = "thinkpad" ] || [ "$2" = "public" ]; then echo 'APT::Default-Release "stable";' \ >> /etc/apt/apt.conf.d/99defaultrelease fi -dhclient eth0 +if [ "$1" = "thinkpad" ]; then + dhclient eth0 +fi apt-get update apt-get -y dist-upgrade -- 2.30.2