See the Security and Bug Fixes Section - Grub EFI Install Updates Fix Sticky


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[solved] Script to Start at Booting and start at shutdown
#1
Hello Everybody,

I have a little problem. I try to figure out, how it's go, but i failed.  Sad

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
nothing happens.

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.
Reply


Messages In This Thread
[solved] Script to Start at Booting and start at shutdown - by walterwhite - 05-30-2017, 06:57 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)