Last active
May 8, 2020 06:25
-
-
Save lasekmiroslaw/930d156e99f3f00e142bebe66b89fe71 to your computer and use it in GitHub Desktop.
Run script after rebot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
``` | |
sudo vim /etc/rc.d/rc.local | |
## paste script inside /\ | |
# mount qnap after reboot | |
mount -t cifs //192.168.1.152/Backups /qnap -o username=admin,password=pass,vers=2.0 | |
sudo chmod +x /etc/rc.d/rc.local | |
``` | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment