aboutsummaryrefslogtreecommitdiff
path: root/sys/apps/microcode_ctl/microcode_ctl.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'sys/apps/microcode_ctl/microcode_ctl.SlackBuild')
-rwxr-xr-xsys/apps/microcode_ctl/microcode_ctl.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/apps/microcode_ctl/microcode_ctl.SlackBuild b/sys/apps/microcode_ctl/microcode_ctl.SlackBuild
index b6d2b2b1..30639a76 100755
--- a/sys/apps/microcode_ctl/microcode_ctl.SlackBuild
+++ b/sys/apps/microcode_ctl/microcode_ctl.SlackBuild
@@ -113,9 +113,10 @@ mkdir -p "$PKG/usr/doc/$PKG_NAME-$PKG_VERSION" || exit $ERROR_MKDIR
cp -a $DOCS "$PKG/usr/doc/$PKG_NAME-$PKG_VERSION" 2> /dev/null
# Move the initialization script to /etc/rc.d/, renaming it to rc.*
-( cd "$PKG/etc/rc.d"
- mv -f init.d/microcode_ctl rc.microcode_ctl.new
- rmdir init.d/
+( cd "$PKG/etc"
+ mv ./init.d ./rc.d
+ cd ./rc.d
+ mv -f microcode_ctl rc.microcode_ctl.new
)
# Patch the initialization script to be less verbose