Skip to content

Instantly share code, notes, and snippets.

Stéphane Gourichon fidergo-stephane-gourichon

Block or report user

Report or block fidergo-stephane-gourichon

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@fidergo-stephane-gourichon
fidergo-stephane-gourichon / outlet
Created Jun 17, 2018 — forked from awaxa/outlet
apc pdu outlet expect script
View outlet
#!/usr/bin/expect
set timeout 3
if {[llength $argv] == 0} {
send_user "Usage: outlet [1-8] [on|off|reboot] \n"
exit 1
}
set number [lindex $argv 0]
set onoff [lindex $argv 1]
You can’t perform that action at this time.