Add function for setting cmdline and writing the config/cmdline file
This commit is contained in:
parent
3ee1062f71
commit
c3a1639dee
2 changed files with 24 additions and 6 deletions
|
@ -76,9 +76,6 @@ func InitConfigs() {
|
|||
// Make the config folder
|
||||
os.Mkdir("config", os.ModePerm)
|
||||
|
||||
// Generate the kernel arguments
|
||||
set_Cmdline()
|
||||
|
||||
// Make a regex to get the system path instead of the config path
|
||||
syspath_re := regexp.MustCompile(`^config`)
|
||||
|
||||
|
@ -136,4 +133,7 @@ func InitConfigs() {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Generate the kernel arguments
|
||||
set_Cmdline()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue