cifs_mount not longer running at boot

Kernel, Main, Utilities & Applications, Miscellaneous Devices.
Solskogen
Posts: 89
Joined: Mon May 25, 2020 5:33 am
Has thanked: 11 times
Been thanked: 6 times

cifs_mount not longer running at boot

Unread post by Solskogen »

With the last changes, cifs_mount.sh not run at bootup even if /etc/network/if-up.d/cifs_mount exists. Running the script manually mounts my NAS.
matbird
Posts: 5
Joined: Thu Jun 03, 2021 5:08 pm
Has thanked: 3 times

Re: cifs_mount not longer running at boot

Unread post by matbird »

I have the same issue - config looks to be the same as before the update, but on hard reboot of the mister the cifs share doesn’t auto mount on boot, I have to run the script manually and then it works just fine until I reboot again.
Flandango
Core Developer
Posts: 388
Joined: Wed May 26, 2021 9:35 pm
Has thanked: 41 times
Been thanked: 328 times

Re: cifs_mount not longer running at boot

Unread post by Flandango »

You can always run it from /media/fat/linux/user-startup.sh. At least for the time being until either fixed or working as intended.
If you don't have that file, create it and add:

Code: Select all

#!/bin/bash
sh /media/fat/Scripts/cifs_mount.sh
matbird
Posts: 5
Joined: Thu Jun 03, 2021 5:08 pm
Has thanked: 3 times

Re: cifs_mount not longer running at boot

Unread post by matbird »

That worked a treat, thanks!
Post Reply