You are not logged in.

#1 2008-01-19 12:21:40

Flasher
Member
From: Bavaria / Germany
Registered: 2005-04-24
Posts: 126

Where to place this script?

Hello!

I wrote a script to backup all profiles and /etc on my computer via rsync. But I don't know in which config file sould be the command placed to execute it when the computer make a shutdown.

Where is the right place? wink

Thanks for your answers.


Greetings,

Flasher

Offline

#2 2008-01-19 12:24:35

ProzacR
Member
Registered: 2007-04-29
Posts: 272

Re: Where to place this script?

/etc/rc.shutdown

Offline

#3 2008-01-19 12:25:10

astratto
Member
Registered: 2007-09-26
Posts: 3

Re: Where to place this script?

/etc/rc.local.shutdown

Bye

Offline

#4 2008-01-19 12:43:04

Flasher
Member
From: Bavaria / Germany
Registered: 2005-04-24
Posts: 126

Re: Where to place this script?

lol, sorry for this stupid question... embarrassing

Offline

#5 2008-01-19 12:45:55

astratto
Member
Registered: 2007-09-26
Posts: 3

Re: Where to place this script?

"There are no stupid questions"... cool

Offline

Board footer

Powered by FluxBB