]> git.armaanb.net Git - asd-repo.git/commitdiff
baseinit: disown hosts file
authorArmaan Bhojwani <me@armaanb.net>
Mon, 19 Jul 2021 15:17:36 +0000 (11:17 -0400)
committerArmaan Bhojwani <me@armaanb.net>
Mon, 19 Jul 2021 15:17:36 +0000 (11:17 -0400)
core/baselayout/post-install [new file with mode: 0755]
core/baselayout/version

diff --git a/core/baselayout/post-install b/core/baselayout/post-install
new file mode 100755 (executable)
index 0000000..deb8feb
--- /dev/null
@@ -0,0 +1,5 @@
+#!/usr/bin/sh -e
+
+file=/var/db/kiss/installed/baselayout/manifest
+
+[ -w "$file" ] && sed -i '/hosts/d' "$file"
index 65c9b94edf74d6d9deb325c42d8a874189c9f202..3f070c0ddcb4a324bd410de6f7246660c8c1fcef 100644 (file)
@@ -1 +1 @@
-0 3
+0 4