public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Add something to KDE's shutdown
@ 2007-04-30  8:02 Florian Philipp
  2007-04-30  8:25 ` Csányi András
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Florian Philipp @ 2007-04-30  8:02 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 381 bytes --]

Hi guys!

I'd like to let my system automatically back up every time I shutdown or 
reboot using KDE's menu entry with a simple script.
However, it would be great to preserve a way to shutdown or reboot without 
making a backup when I've messed something up or when I need to shutdown 
ASAP.

What would be the best way to do this?

Thanks in advance,
Florian Philipp 

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Add something to KDE's shutdown
  2007-04-30  8:02 [gentoo-user] Add something to KDE's shutdown Florian Philipp
@ 2007-04-30  8:25 ` Csányi András
  2007-04-30  8:49 ` Hemmann, Volker Armin
  2007-04-30  8:56 ` Hemmann, Volker Armin
  2 siblings, 0 replies; 8+ messages in thread
From: Csányi András @ 2007-04-30  8:25 UTC (permalink / raw
  To: gentoo-user

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=UTF-8; format=flowed, Size: 697 bytes --]

2007/4/30, Florian Philipp <f.philipp@addcom.de>:
> Hi guys!
>
> I'd like to let my system automatically back up every time I shutdown or
> reboot using KDE's menu entry with a simple script.
> However, it would be great to preserve a way to shutdown or reboot without
> making a backup when I've messed something up or when I need to shutdown
> ASAP.
>
> What would be the best way to do this?

Hi!

I' make this...

start:
/etc/conf.d/local.start

and shutdown
/etc/conf.d/local.stop

this scripts runs every start and shutdown...

András

-- 
- -
--  Csanyi Andras  -- http://sayusi.hu -- Sayusi Ando
--  "Bízzál Istenben és tartsd szárazon a puskaport!".-- Cromwell
éí¢‹¬z¸\x1ežÚ(¢¸&j)bž	b²

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Add something to KDE's shutdown
  2007-04-30  8:02 [gentoo-user] Add something to KDE's shutdown Florian Philipp
  2007-04-30  8:25 ` Csányi András
@ 2007-04-30  8:49 ` Hemmann, Volker Armin
  2007-04-30  8:56 ` Hemmann, Volker Armin
  2 siblings, 0 replies; 8+ messages in thread
From: Hemmann, Volker Armin @ 2007-04-30  8:49 UTC (permalink / raw
  To: gentoo-user

On Montag, 30. April 2007, Florian Philipp wrote:
> Hi guys!
>
> I'd like to let my system automatically back up every time I shutdown or
> reboot using KDE's menu entry with a simple script.
> However, it would be great to preserve a way to shutdown or reboot without
> making a backup when I've messed something up or when I need to shutdown
> ASAP.
>
> What would be the best way to do this?

well, you can set in your kdmrc the reboot and halt command.

# The command (subject to word splitting) to run to halt the system.
# Default is "/sbin/halt"
#HaltCmd=

set them to point to a script
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Add something to KDE's shutdown
  2007-04-30  8:02 [gentoo-user] Add something to KDE's shutdown Florian Philipp
  2007-04-30  8:25 ` Csányi András
  2007-04-30  8:49 ` Hemmann, Volker Armin
@ 2007-04-30  8:56 ` Hemmann, Volker Armin
       [not found]   ` <4635C434.9080200@omesc.com>
  2007-05-01 11:19   ` [gentoo-user] Add something to KDE's shutdown Florian Philipp
  2 siblings, 2 replies; 8+ messages in thread
From: Hemmann, Volker Armin @ 2007-04-30  8:56 UTC (permalink / raw
  To: gentoo-user

On Montag, 30. April 2007, Florian Philipp wrote:
> Hi guys!
>
> I'd like to let my system automatically back up every time I shutdown or
> reboot using KDE's menu entry with a simple script.
> However, it would be great to preserve a way to shutdown or reboot without
> making a backup when I've messed something up or when I need to shutdown
> ASAP.
>
> What would be the best way to do this?

/usr/kde3.5/shutdown/
?
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Subversion 1.4.3
       [not found]   ` <4635C434.9080200@omesc.com>
@ 2007-04-30 10:37     ` Nistor Andrei
  2007-04-30 11:50       ` Johannes Skov Frandsen
  0 siblings, 1 reply; 8+ messages in thread
From: Nistor Andrei @ 2007-04-30 10:37 UTC (permalink / raw
  To: gentoo-user

On Monday 30 April 2007, Johannes Skov Frandsen wrote:
> Hi
>
> I have currently installed version 1.3.2-r3 of subversion, but I have
> installed th latest version of subclipse (svn plugin for the eclipse
> platform), and now I can't use svn from the shell.
>
> I get
> svn: This client is too old to work with working copy '.'; please get a
> newer Subversion client
>
> no matter what command i run.
>
> I guess I have to upgrade to a new version of svn, but how  do I explain
> emerge that I want the 1.4.3 version?
>
> runing:
>
> emerge -va subversion
>
> only allows me to reinstall version 1.3.2-r3

Try 

ACCEPT_KEYWORDS="~arch" emerge subversion

Replace arch with your architecture: x86, amd64, whatever...

This is only temporary, next time you'll update world it'l revert to 1.3.2.

To make it permanent, untill 1.4.3 goes stable, add this line 
to /etc/portage/package.keywords

dev-util/subversion ~x86

>
> Regards
>
> Joe


-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Subversion 1.4.3
  2007-04-30 10:37     ` [gentoo-user] Subversion 1.4.3 Nistor Andrei
@ 2007-04-30 11:50       ` Johannes Skov Frandsen
  0 siblings, 0 replies; 8+ messages in thread
From: Johannes Skov Frandsen @ 2007-04-30 11:50 UTC (permalink / raw
  To: gentoo-user

Nistor Andrei wrote:
> On Monday 30 April 2007, Johannes Skov Frandsen wrote:
>   
>> Hi
>>
>> I have currently installed version 1.3.2-r3 of subversion, but I have
>> installed th latest version of subclipse (svn plugin for the eclipse
>> platform), and now I can't use svn from the shell.
>>
>> I get
>> svn: This client is too old to work with working copy '.'; please get a
>> newer Subversion client
>>
>> no matter what command i run.
>>
>> I guess I have to upgrade to a new version of svn, but how  do I explain
>> emerge that I want the 1.4.3 version?
>>
>> runing:
>>
>> emerge -va subversion
>>
>> only allows me to reinstall version 1.3.2-r3
>>     
>
> Try 
>
> ACCEPT_KEYWORDS="~arch" emerge subversion
>
> Replace arch with your architecture: x86, amd64, whatever...
>
> This is only temporary, next time you'll update world it'l revert to 1.3.2.
>
> To make it permanent, untill 1.4.3 goes stable, add this line 
> to /etc/portage/package.keywords
>
> dev-util/subversion ~x86
>
>   
>> Regards
>>
>> Joe
>>     
>
>
>   
Thanks... that was all that was needed... everything works nicely again.

Joe
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Add something to KDE's shutdown
  2007-04-30  8:56 ` Hemmann, Volker Armin
       [not found]   ` <4635C434.9080200@omesc.com>
@ 2007-05-01 11:19   ` Florian Philipp
  2007-05-01 11:59     ` galevsky
  1 sibling, 1 reply; 8+ messages in thread
From: Florian Philipp @ 2007-05-01 11:19 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 841 bytes --]

Am Montag 30 April 2007 10:56 schrieb Hemmann, Volker Armin:
> On Montag, 30. April 2007, Florian Philipp wrote:
> > Hi guys!
> >
> > I'd like to let my system automatically back up every time I shutdown or
> > reboot using KDE's menu entry with a simple script.
> > However, it would be great to preserve a way to shutdown or reboot
> > without making a backup when I've messed something up or when I need to
> > shutdown ASAP.
> >
> > What would be the best way to do this?
>
> /usr/kde3.5/shutdown/
> ?

Are those scripts executed with super user permissions? Are they executed when 
rebooting, too?

By the way: it's /usr/kde/3.5/shutdown/  ;)


Another question: Which options are appropriate to mount my backup partition 
while executing the script: 
noexec,async,dev,rw ?

Thanks in advance
Florian Philipp

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Add something to KDE's shutdown
  2007-05-01 11:19   ` [gentoo-user] Add something to KDE's shutdown Florian Philipp
@ 2007-05-01 11:59     ` galevsky
  0 siblings, 0 replies; 8+ messages in thread
From: galevsky @ 2007-05-01 11:59 UTC (permalink / raw
  To: gentoo-user

> Another question: Which options are appropriate to mount my backup partition
> while executing the script:
> noexec,async,dev,rw ?

Hi,

default options: rw, suid, dev, exec, auto, nouser, and async. match
your needs, but nouser : you have to know before if the users would
launch your script on behalf of themselves, or if the script would
have sticky-bit, or the users would have to sudo and run it as root.

As for exec and auto, you can disable them depending on how you manage
your back-up space.

Gal'
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2007-05-01 12:06 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-30  8:02 [gentoo-user] Add something to KDE's shutdown Florian Philipp
2007-04-30  8:25 ` Csányi András
2007-04-30  8:49 ` Hemmann, Volker Armin
2007-04-30  8:56 ` Hemmann, Volker Armin
     [not found]   ` <4635C434.9080200@omesc.com>
2007-04-30 10:37     ` [gentoo-user] Subversion 1.4.3 Nistor Andrei
2007-04-30 11:50       ` Johannes Skov Frandsen
2007-05-01 11:19   ` [gentoo-user] Add something to KDE's shutdown Florian Philipp
2007-05-01 11:59     ` galevsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox