05-30-2017, 06:57 PM
(This post was last modified: 06-06-2017, 05:12 PM by walterwhite.)
Hello Everybody,
I have a little problem. I try to figure out, how it's go, but i failed.
Summary:
I use google drive and want to synchronize my local folder with grive.
If I start the script manually, there is no problem. It runs.
Script:
If I try to start the script via nothing happens.
I activate rc.local with
and edit the file, adding:
Activate:
After reboot, there is no synchronize.
I don't know, whats wrong...
How can I start a script, which needs a few seconds to run after booting?
Thanks!
Regards
walter
I using the newest Linux Lite 64 Bit.
I have a little problem. I try to figure out, how it's go, but i failed.
Summary:
I use google drive and want to synchronize my local folder with grive.
If I start the script manually, there is no problem. It runs.
Script:
Code:
#!/bin/sh
PATH=/usr/bin
grive -p /home/walter/Google_Drive/ >/dev/null 2>&1
exit 0
If I try to start the script via
Code:
/etc/rc.local
I activate rc.local with
Code:
sudo systemctl edit --full rc-local
and edit the file, adding:
Code:
[Install]
WantedBy=multi-user.target
Activate:
Code:
sudo systemctl reenable rc-local
After reboot, there is no synchronize.
I don't know, whats wrong...
How can I start a script, which needs a few seconds to run after booting?
Thanks!
Regards
walter
I using the newest Linux Lite 64 Bit.