11
votes
1answer
20k views

How to write startup script for systemd

I have 2 graphics cards on my laptop, one is IGP and another discrete, I've written a shell script to to turn off discrete graphics card. How I can convert it to systemd script, to runt at start-up?
7
votes
1answer
325 views

difference between Fedora's, openSUSE's, and Mandriva's initscripts?

I'm trying to figure out how the init system works for these distributions, but they seem to use different layouts... How do each of them work?