diff options
author | Aaditya Bagga <aaditya_gnulinux@zoho.com> | 2018-11-07 14:27:16 +0530 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-11-30 21:07:55 +0700 |
commit | 62c420ffdc9855166c020c43d8987c49b21d4437 (patch) | |
tree | 2d494a88e48b37eab54666ffe65e45c619a96298 /system/openrc-services/openrc-services.SlackBuild | |
parent | 5679f858c08d713fed6c7785a6f3ad7ae165e421 (diff) | |
download | slackbuilds-62c420ffdc9855166c020c43d8987c49b21d4437.tar.gz |
system/openrc-services: Updated for version 20181107 + SYSCONFDIR changed.
Diffstat (limited to 'system/openrc-services/openrc-services.SlackBuild')
-rw-r--r-- | system/openrc-services/openrc-services.SlackBuild | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/system/openrc-services/openrc-services.SlackBuild b/system/openrc-services/openrc-services.SlackBuild index 2e481a77f4..0b152f9914 100644 --- a/system/openrc-services/openrc-services.SlackBuild +++ b/system/openrc-services/openrc-services.SlackBuild @@ -24,7 +24,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=openrc-services -VERSION=${VERSION:-20180916} +VERSION=${VERSION:-20181107} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -71,19 +71,20 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; # Install -sh install.sh "$PKG" +SYSCONFDIR="etc/openrc" +SYSCONFDIR="$SYSCONFDIR" sh install.sh "$PKG" # Install slackware compatibility services -install -Dm 644 misc/local.d/rcM.start "$PKG/etc/local.d/rcM.start" -install -Dm 755 misc/local.d/rcd_net.start "$PKG/etc/local.d/rcd_net.start" +install -Dm 644 misc/local.d/rcM.start "$PKG/etc/openrc/local.d/rcM.start" +install -Dm 755 misc/local.d/rcd_net.start "$PKG/etc/openrc/local.d/rcd_net.start" # Enable some basic services -install -d "$PKG/etc/runlevels/sysinit" -ln -sf /etc/init.d/udev "$PKG/etc/runlevels/sysinit/udev" -ln -sf /etc/init.d/udev-trigger "$PKG/etc/runlevels/sysinit/udev-trigger" +install -d "$PKG/etc/openrc/runlevels/sysinit" +ln -sf /etc/openrc/init.d/udev "$PKG/etc/openrc/runlevels/sysinit/udev" +ln -sf /etc/openrc/init.d/udev-trigger "$PKG/etc/openrc/runlevels/sysinit/udev-trigger" # Backup config files -for file in $PKG/etc/conf.d/*; do +for file in $PKG/etc/openrc/conf.d/*; do mv "$file" "${file}.new" done @@ -91,7 +92,7 @@ for file in $PKG/etc/logrotate.d/*; do mv "$file" "${file}.new" done -for file in $PKG/etc/local.d/*; do +for file in $PKG/etc/openrc/local.d/*; do mv "$file" "${file}.new" done |