[X2Go-Commits] [live-build-x2go] 25/59: added update command for resolvconf, to be triggered if we encountered the broken resolv.conf file
git-admin at x2go.org
git-admin at x2go.org
Mon Nov 28 19:34:52 CET 2022
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch feature/openbox-magic-pixel-workaround-buster
in repository live-build-x2go.
commit 4f2ff92e80ac62689248696fc10aff38ebddf071
Author: Stefan Baur (BAUR-ITCS) <kontakt at baur-itcs.de>
Date: Fri Jun 19 19:12:10 2020 +0000
added update command for resolvconf, to be triggered if we encountered
the broken resolv.conf file
---
config/includes.chroot/etc/network/if-up.d/0000-fix-resolvconf | 1 +
1 file changed, 1 insertion(+)
diff --git a/config/includes.chroot/etc/network/if-up.d/0000-fix-resolvconf b/config/includes.chroot/etc/network/if-up.d/0000-fix-resolvconf
index b069d79..3578c6a 100755
--- a/config/includes.chroot/etc/network/if-up.d/0000-fix-resolvconf
+++ b/config/includes.chroot/etc/network/if-up.d/0000-fix-resolvconf
@@ -2,4 +2,5 @@
# for some silly reason, we end up with a 0-byte-sized actual resolv.conf file in /etc, which keeps resolvconf from working
if ! [ -s /etc/resolv.conf ]; then
ln -sf /etc/resolvconf/run/resolv.conf /etc/resolv.conf
+ resolvconf -u
fi
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/live-build-x2go.git
More information about the x2go-commits
mailing list