1
0
mirror of https://github.com/rancher/os.git synced 2025-08-21 00:02:53 +00:00
os/cmd/sysinit/sysinit.go
Olli Janatuinen 872f1cd6da Initiate Burmilla OS project
- Use burmilla GitHub repos
- Release under burmilla Docker Hub
- GitHub action for create releases
- Updated boot image and login banner
- Use Debian as default console
- Updated system-cron to v0.5.0
- Updated services to latest versions
- Bump up kernel to 4.14.206
- Include burmilla/os-debianconsole:v1.9.0 to initrd
2021-02-18 20:07:36 +02:00

22 lines
356 B
Go

package sysinit
import (
"io/ioutil"
"os"
"github.com/burmilla/os/pkg/log"
"github.com/burmilla/os/pkg/sysinit"
)
func Main() {
log.InitLogger()
resolve, err := ioutil.ReadFile("/etc/resolv.conf")
log.Infof("Resolv.conf == [%s], %v", resolve, err)
log.Infof("Exec %v", os.Args)
if err := sysinit.SysInit(); err != nil {
log.Fatal(err)
}
}