aboutsummaryrefslogtreecommitdiff
path: root/system/openrc-services/doinst.sh
diff options
context:
space:
mode:
authorAaditya Bagga <aaditya_gnulinux@zoho.com>2018-11-07 14:27:16 +0530
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-11-30 21:07:55 +0700
commit62c420ffdc9855166c020c43d8987c49b21d4437 (patch)
tree2d494a88e48b37eab54666ffe65e45c619a96298 /system/openrc-services/doinst.sh
parent5679f858c08d713fed6c7785a6f3ad7ae165e421 (diff)
system/openrc-services: Updated for version 20181107 + SYSCONFDIR changed.
Diffstat (limited to 'system/openrc-services/doinst.sh')
-rw-r--r--system/openrc-services/doinst.sh18
1 files changed, 9 insertions, 9 deletions
diff --git a/system/openrc-services/doinst.sh b/system/openrc-services/doinst.sh
index 114f65125a41..4b684ae733c6 100644
--- a/system/openrc-services/doinst.sh
+++ b/system/openrc-services/doinst.sh
@@ -26,14 +26,14 @@ preserve_perms() {
openrc_accessibility=(espeakup)
openrc_base=(device-mapper dmcrypt lvm mdadm mdraid udev udev-settle udev-trigger)
openrc_desktop=(acpid alsasound xdm gpm wpa_supplicant)
-openrc_devel=(git-daemon influxdb mysqld postgresql svn distccd redis)
-openrc_misc=(bitlbee cpupower connman ntpd ntp-client sntp rsyslog saned metalog pulseaudio syslog-ng sensord fancontrol lm_sensors lircd irexec haveged salt-master salt-minion salt-syncdic hdparm clamd boinc atd libvirtd)
-openrc_net=(named dhcpd dhcrelay dhcrelay6 dnsmasq iptables ip6tables rpcbind nfs nfsclient nginx openntpd slapd sshd openvpn quota rsyncd samba saslauthd squid transmission-daemon ufw vnstatd xinetd tor NetworkManager httpd syncthing)
-openrc_slack=(dcron sendmail snmpd snmptrapd sysklogd)
-openrc_video=(vgl bumblebee)
+openrc_devel=(git-daemon influxdb mysqld postgresql svn distccd jenkins redis)
+openrc_misc=(bitlbee cpupower connman ntpd ntp-client sntp rsyslog saned metalog pulseaudio syslog-ng sensord fancontrol lm_sensors lircd irexec haveged salt-master salt-minion salt-syncdic hdparm clamd boinc atd libvirtd docker)
+openrc_net=(named dhcpd dhcrelay dhcrelay6 hostapd dnsmasq iptables ip6tables rpcbind nfs nfsclient nginx openntpd slapd sshd openvpn quota rsyncd samba saslauthd squid transmission-daemon ufw vnstatd xinetd tor NetworkManager httpd syncthing)
+openrc_slack=(dcron sendmail snmpd snmptrapd sysklogd fail2ban)
+openrc_video=(vgl bumblebee nvidia-persistenced)
for file in "${openrc_accessibility[@]}" "${openrc_base[@]}" "${openrc_desktop[@]}" "${openrc_devel[@]}" "${openrc_misc[@]}" "${openrc_net[@]}" "${openrc_slack[@]}" "${openrc_video[@]}"; do
- config "etc/conf.d/${file}.new"
+ config "etc/openrc/conf.d/${file}.new"
done
BACKUP_FILE=(logrotate.d/jenkins)
@@ -43,11 +43,11 @@ done
BACKUP_LOCAL=(rcM.start rcd_net.start)
for file in "${BACKUP_LOCAL[@]}"; do
- preserve_perms etc/local.d/${file}.new
+ preserve_perms "etc/openrc/local.d/${file}.new"
done
# disable udev-postmount
-[ -e etc/runlevels/sysinit/udev-postmount ] && rm -v etc/runlevels/sysinit/udev-postmount
+[ -e "etc/openrc/runlevels/sysinit/udev-postmount" ] && rm -v "etc/openrc/runlevels/sysinit/udev-postmount"
# disable kmod-static-nodes (openrc-0.26.1, 2017-05-14)
-[ -e etc/runlevels/sysinit/kmod-static-nodes ] && rm -v etc/runlevels/sysinit/kmod-static-nodes
+[ -e "etc/openrc/runlevels/sysinit/kmod-static-nodes" ] && rm -v "etc/openrc/runlevels/sysinit/kmod-static-nodes"