home
·
contact
·
privacy
projects
/
config
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
61a1a6d
)
postinstall script: Only call dhclient in thinkpad.
author
Christian Heller
<c.heller@plomlompom.de>
Wed, 10 Feb 2016 00:29:10 +0000
(
01:29
+0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Wed, 10 Feb 2016 00:29:10 +0000
(
01:29
+0100)
jessie_postinstall.sh
patch
|
blob
|
history
diff --git
a/jessie_postinstall.sh
b/jessie_postinstall.sh
index 939d6a4cef54a30ec78b76776180e27596faad2f..06d95f2275dd967673676a91e9ad5dbc6f1fe8c5 100755
(executable)
--- 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
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
apt-get update
apt-get -y dist-upgrade