mkimage-profiles/features.in/slinux/live/image-scripts.d/50-services

50 lines
796 B
Plaintext
Raw Normal View History

2012-05-03 16:13:19 +04:00
#!/bin/sh
# see also m-p-d::profiles/live/image-scripts.d/init3-services
2012-05-03 16:13:19 +04:00
ENABLE="
2017-03-22 21:07:15 +03:00
cups.service
avahi-daemon.service
NetworkManager.service
NetworkManager-wait-online.service
ModemManager.service
nmb.service
smb.service
dnsmasq.service
cpufreq-simple.service
alteratord.socket
bluetoothd.service
crond.service
lvm2-monitor.service
network.service
ntpd.service
lightdm.service
bluetooth.service
2012-05-03 16:13:19 +04:00
"
2012-05-03 16:13:19 +04:00
DISABLE="
2017-03-22 21:07:15 +03:00
anacron.service
x11presetdrv.service
bridge.service
acpid.service
ethtool.service
iptables.service
lm_sensors.service
openvpn.service
sshd.service
consolesaver.service
syslogd.service
krb5kdc.service
clamd.service
haspd.service
cups.socket
2012-05-03 16:13:19 +04:00
"
2012-05-03 16:13:19 +04:00
for i in $ENABLE; do
2017-03-22 21:07:15 +03:00
/bin/systemctl --no-reload enable "$i" ||:
done
2012-05-03 16:13:19 +04:00
for i in $DISABLE; do
2017-03-22 21:07:15 +03:00
/bin/systemctl --no-reload disable "$i" ||:
done
: