summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorEvgeni Golov <evgeni@grml.org>2014-03-29 14:28:02 +0100
committerDaniel Baumann <daniel@laptop.127011.net>2014-03-29 14:29:40 +0100
commite31d7cec9e48617a7509bab38cac32958f431d4e (patch)
treecfdb1c66522f518e3d6800340bff7e8d17e767a5 /scripts
parent5c45c7b9faa2b6cc118d5efee4e96bb98dfed4ab (diff)
downloadlive-boot-e31d7cec9e48617a7509bab38cac32958f431d4e.tar.gz
live-boot-e31d7cec9e48617a7509bab38cac32958f431d4e.zip
Supporting resolvconf in the squashfs.
When resolvconf is used in the squashfs, /etc/resolv.conf is a symlink to the generated version. Depending on the size of the squashfs and other factors, sometimes we try to write to /etc/resolv.conf while it still points to nirvana, as resolvconf did not generate it yet. Instead of being racy and writing to a file which will be regenerated anyways, let's detect resolvconf and write to its base file instead. Initial detection idea by Mika Prokop <mika@grml.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions