]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Set policy to not start/enable services by default 11116/head
authorOtto <otto.moerbeek@open-xchange.com>
Sat, 18 Dec 2021 19:24:14 +0000 (20:24 +0100)
committerOtto <otto.moerbeek@open-xchange.com>
Sat, 18 Dec 2021 20:08:11 +0000 (21:08 +0100)
build-scripts/gh-actions-setup-inv

index 02e5a231e237d7e888af5aca13d0dadde63d8d94..2a5f441351376ff0250859155902df2cf78af655 100755 (executable)
@@ -1,4 +1,10 @@
 #!/bin/bash -x
+sudo sh -c "cat > /usr/sbin/policy-rc.d << EOF
+#!/bin/sh
+exit 101
+EOF
+"
+sudo chmod 755 /usr/sbin/policy-rc.d
 sudo apt-get update
 sudo apt-get -qq -y dist-upgrade
 sudo apt-get -qq -y --no-install-recommends install python3-pip