summaryrefslogtreecommitdiff
path: root/data/live-build-config/hooks/live/18-enable-disable_services.chroot
blob: a3e9f06de0e9e3eeab6e07f1a864718be15e26aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#!/bin/sh

echo I: Disabling services
systemctl disable exim4.service
systemctl disable isc-dhcp-server.service
systemctl disable isc-dhcp-relay.service
systemctl disable nfacctd.service
systemctl disable pmacctd.service
systemctl disable sfacctd.service
systemctl disable uacctd.service
systemctl disable lighttpd.service
systemctl disable ssh.service
systemctl disable openvpn.service
systemctl disable lldpd.service
systemctl disable conntrackd.service
systemctl disable mdns-repeater.service
systemctl disable 'udp-broadcast-relay@*.service'
systemctl disable pdns-recursor.service
systemctl disable tftpd-hpa.service
systemctl disable strongswan.service
systemctl disable frr.service
systemctl disable salt-minion.service
systemctl disable nginx.service
systemctl disable pacemaker.service
systemctl disable corosync.service
systemctl disable wpa_supplicant.service
systemctl disable squid.service
systemctl disable heartbeat.service
systemctl disable apt-daily.service
systemctl disable apt-daily.timer
systemctl disable apt-daily-upgrade.timer
systemctl disable apt-daily-upgrade.service
systemctl disable pcscd.service
systemctl disable man-db.timer
systemctl disable ntp.service
systemctl disable igmpproxy.service
systemctl disable cryptsetup.service
systemctl disable live-tools.service
systemctl disable wide-dhcpv6-client.service
systemctl disable lm-sensors.service
systemctl disable snmpd.service
systemctl disable conserver-server.service
systemctl disable dropbear.service

echo I: Enabling services
systemctl enable ssh-session-cleanup.service
systemctl enable vyos-hostsd.service
systemctl enable acpid.service