Method: LinuxAdmin::NetworkInterface#start

Defined in:
lib/linux_admin/network_interface.rb

#startBoolean

Brings up the network interface

Returns:

  • (Boolean)

    whether the command succeeded or not



143
144
145
# File 'lib/linux_admin/network_interface.rb', line 143

def start
  Common.run(Common.cmd("ifup"), :params => [@interface]).success?
end