Class: Amnesie::Process
- Inherits:
-
Object
- Object
- Amnesie::Process
- Defined in:
- lib/amnesie/process.rb
Instance Method Summary collapse
-
#initialize(card) ⇒ Process
constructor
A new instance of Process.
- #kill ⇒ Object
- #restart ⇒ Object
Constructor Details
Instance Method Details
#kill ⇒ Object
12 13 14 15 |
# File 'lib/amnesie/process.rb', line 12 def kill kill_dhcpcd kill_dhclient end |
#restart ⇒ Object
17 18 19 20 21 |
# File 'lib/amnesie/process.rb', line 17 def restart restart_dhcpcd restart_dhclient restart_tor end |