Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

ArchLinux has completly replaced rc.conf with systemd. I used /etc/rc.local to modprobe radeon module and turn it off using vgaswitcheroo.

modprobe radeon && echo OFF > /sys/kernel/debug/vgaswitcheroo/switch

But, there is no rc.conf in ArchLinux anymore. How can I do it with systemd ?

share|improve this question
You should be using /etc/modules, not your init system for this. – jordanm Dec 3 '12 at 20:36

So the first thing you will do is have Arch automatically load the radeon module at boot.

To do this, add a file to the /etc/modules-load.d directory, for example:

# echo radeon > /etc/modules-load.d/radeon.conf

The second thing is to have vgaswitcheroo do its magic to switch off the disconnected graphics adapter. Arch has a systemd-vgaswitcheroo-units package which may help you accomplish this. It echoes OFF at startup, and ON at shutdown. To enable it, use:

# systemctl enable vgaswitcheroo.service
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.