This commit is contained in:
2013-09-29 03:32:39 +04:00
parent 946b77d028
commit 7af48c15d4
24 changed files with 256 additions and 0 deletions

18
init.d/network Executable file
View File

@@ -0,0 +1,18 @@
#!/usr/bin/env watchman
service_type='oneshot'
start() {
watchman.msg "Activating the loopback interface (lo)..."
ip link set lo up
}
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
}