Bug 29589

Summary: rc.local service wanted
Product: Mageia Reporter: Ken Arromdee <arromdee2>
Component: New RPM package requestAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: Normal    
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: N/A CVE:
Status comment:

Description Ken Arromdee 2021-10-25 10:06:16 CEST
A rc.local service would be useful.

I've been using one from https://www.linuxbabe.com/linux-server/how-to-enable-etcrc-local-with-systemd although you might want to change it to work with graphical.target as well as multi-user.target.

Until a recent upgrade I had a bad CPU core and needed to disable it with echo 0 > /sys/devices/system/cpu/cpu2/online in my rc.local.
Comment 1 David Walser 2021-10-25 19:19:27 CEST
You can still use /etc/rc.d/rc.local, you just have to create it, make it executable, and make sure it starts with #!/bin/sh or #!/bin/bash

Resolution: (none) => INVALID
Status: NEW => RESOLVED