network -> lo.iface

This commit is contained in:
2014-10-04 19:47:02 +04:00
parent e61bb3c1b2
commit 91965639f3
2 changed files with 37 additions and 20 deletions

View File

@@ -1,20 +0,0 @@
#!/usr/bin/env watchman
service_type='oneshot'
service_command='ip'
service_args='link set lo up'
start() {
watchman.msg "Activating the loopback interface (lo)..."
watchman.start
}
stop() {
watchman.status || {
watchman.err "$service_name is already disabled"
return 1
}
watchman.msg "Deactivating the loopback interface (lo)..."
ip link set lo down
watchman.stop
}