Remove unsued sysinit package
Signed-off-by: Michael Crosby <michael@docker.com>
This commit is contained in:
parent
7321067176
commit
29af9c14e4
2 changed files with 0 additions and 26 deletions
|
@ -1,4 +0,0 @@
|
|||
Sys Init code
|
||||
|
||||
This code is run INSIDE the container and is responsible for setting
|
||||
up the environment before running the actual process
|
|
@ -1,22 +0,0 @@
|
|||
package sysinit
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"os"
|
||||
"runtime"
|
||||
)
|
||||
|
||||
// Sys Init code
|
||||
// This code is run INSIDE the container and is responsible for setting
|
||||
// up the environment before running the actual process
|
||||
func SysInit() {
|
||||
// The very first thing that we should do is lock the thread so that other
|
||||
// system level options will work and not have issues, i.e. setns
|
||||
runtime.LockOSThread()
|
||||
|
||||
if len(os.Args) <= 1 {
|
||||
fmt.Println("You should not invoke dockerinit manually")
|
||||
os.Exit(1)
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Reference in a new issue