summaryrefslogtreecommitdiff
path: root/system/openrc-services/openrc-services.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/openrc-services/openrc-services.SlackBuild')
-rw-r--r--system/openrc-services/openrc-services.SlackBuild13
1 files changed, 9 insertions, 4 deletions
diff --git a/system/openrc-services/openrc-services.SlackBuild b/system/openrc-services/openrc-services.SlackBuild
index fc9a94075a..bcf5ba9431 100644
--- a/system/openrc-services/openrc-services.SlackBuild
+++ b/system/openrc-services/openrc-services.SlackBuild
@@ -24,12 +24,12 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=openrc-services
-VERSION=${VERSION:-20170217}
+VERSION=${VERSION:-20170218}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
_GITNAM=aadityabagga-${PRGNAM}-ng
-_GITVER=a41f2e816476
+_GITVER=6f20975d6500
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -77,8 +77,9 @@ find -L . \
# Install
sh install.sh "$PKG"
-# Install rcM.start
-install -Dm 644 misc/local.d/rcM.start "$PKG/etc/local.d/rcM.start.new"
+# 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"
# Enable some basic services
install -d "$PKG/etc/runlevels/sysinit"
@@ -95,6 +96,10 @@ for file in $PKG/etc/logrotate.d/*; do
mv "$file" "${file}.new"
done
+for file in $PKG/etc/local.d/*; do
+ mv "$file" "${file}.new"
+done
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild