I am not new to Linux but I am new to systemd and Arch Linux.
I think I need to write a systemd unit in /etc/systemd/system/myprocsettings.service like this:
Description=Write my settings in /proc
ExecStart=/bin/sh -c 'modprobe cifs && sleep 2 && echo 0x27 > /proc/fs/cifs/SecurityFlags'
and then enable it with systemctl enable myprocsettings.service.
Is this correct? Am I going to break anything? Do I need to systemctl load before enable?
Last edited by dfulger (2013-01-18 10:41:35)
Use tmpfiles: https://wiki.archlinux.org/index.php/Sy … rary_files
It works now. I have updated my initial post with the version of the file that finally worked.