You are not logged in.

#1 2009-03-01 20:41:50

FreakGuard
Member
Registered: 2008-04-27
Posts: 103

Little script for less AAARGH

I wanted to advertise a small script (it's from debian - hey, don't stop reading here!) that might save you an AAAARGH one day wink It asks for the hostname if you invoke any shutdown/reboot command via ssh, for when you might be a bit sleepy.
http://aur.archlinux.org:80/packages.php?ID=24349

Offline

#2 2009-03-01 21:58:30

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,224
Website

Re: Little script for less AAARGH

I thought WIN... That's perfect... Then I decided to test it on my live server... Perhaps this should go in to the Stupidest Computing Mistakes thread hmm

Offline

#3 2009-03-01 22:39:28

FreakGuard
Member
Registered: 2008-04-27
Posts: 103

Re: Little script for less AAARGH

fukawi2 wrote:

I thought WIN... That's perfect... Then I decided to test it on my live server... Perhaps this should go in to the Stupidest Computing Mistakes thread hmm

Read the install notice wink

Offline

#4 2009-03-01 22:44:19

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,224
Website

Re: Little script for less AAARGH

I did, and I checked that...

root@platypus ~ # which shutdown
/usr/sbin/shutdown

Offline

#5 2009-03-02 14:38:00

FreakGuard
Member
Registered: 2008-04-27
Posts: 103

Re: Little script for less AAARGH

*vanishes in shame*
... should work well now.

Offline

#6 2009-03-02 15:08:48

Runiq
Member
From: Germany
Registered: 2008-10-29
Posts: 1,053

Re: Little script for less AAARGH

I... I love you, FreakGuard.

Offline

#7 2009-03-02 22:08:09

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,224
Website

Re: Little script for less AAARGH

That works now smile

I love it already... big_smile

Last edited by fukawi2 (2009-03-02 22:08:20)

Offline

#8 2009-03-03 09:12:52

FreakGuard
Member
Registered: 2008-04-27
Posts: 103

Re: Little script for less AAARGH

fukawi2 wrote:

That works now smile

I'm sorry about it... the Makefile is quite a mess.

Offline

#9 2009-03-03 22:24:33

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,224
Website

Re: Little script for less AAARGH

No stress mate smile  It was my stupid fault for testing it on a system I cared about roll

Offline

Board footer

Powered by FluxBB