.

By tc11671 Last update Nov 8, 2009 — Installed 455 times. Daily Installs: 106, 1, 3, 2, 1, 2, 0, 1, 0, 0, 0, 0, 0, 0, 10, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0

Add your review

1 review


1 out of 1 person found this review helpful
1 star
Don't install this... , Sep 26, 2009
Review written by Don Care - see all my reviews (3)

Just look at the source code and you should be able to quickly figure out what this script does. It more or less turns your computer off and that's about it.

I highly recommend not installing this script. Below is a small sample of the script if you are too lazy to look at the code:

pw=`cat $tempfile`
Xdialog --title "Output" --screen-center --msgbox "OK, shutting down..." 10 40
expect -d - << EndMark
spawn "/bin/bash"
send "su\r"
expect -re "Password: "
sleep 1
send "$pw\r"
expect -re "#"
send "/sbin/halt\r"
expect -re "#"

=============
/sbin/halt\r
=============
this statement is a shutdown command

0 comments |