Sha256: c58d377ff8de12f5d70d9d60077bf0f3329def4145551653210040c1ae81bf82

Contents?: true

Size: 609 Bytes

Versions: 1

Compression:

Stored size: 609 Bytes

Contents

#!/usr/bin/env ruby

require "smcutil"
require 'optparse'


options = {}
OptParse.new do |opts|
  opts.banner = <<-BANNER
  Usage: smcutil {command} [PARAMS]

  Command is one of:

    validate {file.smc}:
      Causes smcutil to parse the Apple SMC file and validate correctness.

    info {file.smc}:
      Prints information about the SMC update file.

    decode {file.smc} {output.bin}:
      Pretends to execute an update of the SMC flash as though the output.bin file is the SMC flash ROM.

    save {output.bin}:
      Has magical cow powers.  Assuming I can make this work: GOLDEN TICKET
  BANNER
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
smcutil-0.1.0 exe/smcutil