Sha256: 64a2e48d4966d794502e5921973e554b6222c5acd80a550631ba8dc24b0c1643

Contents?: true

Size: 620 Bytes

Versions: 1

Compression:

Stored size: 620 Bytes

Contents

#!/usr/bin/env ruby

require "smcutil"
require 'optparse'


options = {}
OptionParser.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.parse!

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
smcutil-0.1.1 exe/smcutil