Auto mount Samba share on startup in Manjaro

Mount your Samba network share on startup. It even works when you are using WiFi.

So you can auto mount Samba shares easily by editing the fstab file with the access parameters of the network share, but it won't work when you are using a WiFi connection. But it's an easy fix! Just add a few more parameters and it should work fine.

My working setup looks something like this:

//192.168.0.222/downloads   /mnt/downloads  cifs    auto,x-systemd.automount,iocharset=utf8,username=yourusername,password=yourpassword 0 0