Class: Y2Network::Startmodes::Auto
- Inherits:
-
Y2Network::Startmode
- Object
- Y2Network::Startmode
- Y2Network::Startmodes::Auto
- Includes:
- Yast::I18n
- Defined in:
- src/lib/y2network/startmodes/auto.rb
Overview
Auto start mode
Interface will be set up as soon as it is available (and service network was started). This either happens at boot time when network is starting or via hotplug when a interface is added to the system (by adding a device or loading a driver). To be backward compliant onboot, on and boot are aliases for auto. TODO: when reading use that aliases
Constant Summary
Constants inherited from Y2Network::Startmode
Instance Attribute Summary
Attributes inherited from Y2Network::Startmode
Instance Method Summary collapse
-
#initialize(alias_name: nil) ⇒ Auto
constructor
A new instance of Auto.
- #long_description ⇒ Object
- #to_human_string ⇒ Object
Methods inherited from Y2Network::Startmode
Constructor Details
#initialize(alias_name: nil) ⇒ Auto
Returns a new instance of Auto.
34 35 36 37 38 |
# File 'src/lib/y2network/startmodes/auto.rb', line 34 def initialize(alias_name: nil) textdomain "network" super("auto", alias_name: alias_name) end |
Instance Method Details
#long_description ⇒ Object
44 45 46 47 48 |
# File 'src/lib/y2network/startmodes/auto.rb', line 44 def long_description _( "Started automatically at boot" ) end |
#to_human_string ⇒ Object
40 41 42 |
# File 'src/lib/y2network/startmodes/auto.rb', line 40 def to_human_string _("At Boot Time") end |