archlinux: fix syntax errors in install file
This commit is contained in:
parent
d84c07295b
commit
78dcdd0f6a
@ -49,7 +49,7 @@ configure_iptables() {
|
|||||||
### Automatically added by Qubes:
|
### Automatically added by Qubes:
|
||||||
# Override default rules location on Qubes
|
# Override default rules location on Qubes
|
||||||
IPTABLES_DATA=/etc/sysconfig/iptables.qubes
|
IPTABLES_DATA=/etc/sysconfig/iptables.qubes
|
||||||
EOF
|
EOF
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! grep -q IP6TABLES_DATA /etc/sysconfig/ip6tables-config; then
|
if ! grep -q IP6TABLES_DATA /etc/sysconfig/ip6tables-config; then
|
||||||
@ -58,7 +58,7 @@ configure_iptables() {
|
|||||||
### Automatically added by Qubes:
|
### Automatically added by Qubes:
|
||||||
# Override default rules location on Qubes
|
# Override default rules location on Qubes
|
||||||
IP6TABLES_DATA=/etc/sysconfig/ip6tables.qubes
|
IP6TABLES_DATA=/etc/sysconfig/ip6tables.qubes
|
||||||
EOF
|
EOF
|
||||||
fi
|
fi
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -239,7 +239,7 @@ update_qubesconfig() {
|
|||||||
cat <<EOF > /etc/hosts
|
cat <<EOF > /etc/hosts
|
||||||
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 `hostname`
|
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 `hostname`
|
||||||
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
|
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
|
||||||
EOF
|
EOF
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -416,7 +416,7 @@ post_remove() {
|
|||||||
|
|
||||||
for srv in qubes-dvm qubes-sysinit qubes-misc-post qubes-mount-home qubes-netwatcher qubes-network qubes-qrexec-agent; do
|
for srv in qubes-dvm qubes-sysinit qubes-misc-post qubes-mount-home qubes-netwatcher qubes-network qubes-qrexec-agent; do
|
||||||
systemctl disable $srv.service
|
systemctl disable $srv.service
|
||||||
do
|
done
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user