class Getch::Chroot

Public Class Methods

new(cmd) click to toggle source
Calls superclass method Getch::Command::new
# File lib/getch/command.rb, line 172
def initialize(cmd)
  super
  @cmd = "chroot #{MOUNTPOINT} /bin/bash -c \"source /etc/profile; #{cmd}\""
end