Writes bootcmd
This commit is contained in:
@@ -46,7 +46,7 @@ func newInternalFWPrintEnvCmd() *cobra.Command {
|
||||
|
||||
res, err := runner.RunWithOptions(
|
||||
ctx,
|
||||
"/fw_printenv",
|
||||
"fw_printenv",
|
||||
runArgs,
|
||||
system.RunOptions{
|
||||
Quiet: true,
|
||||
|
||||
@@ -52,7 +52,7 @@ func newInternalFWSetEnvCmd() *cobra.Command {
|
||||
// Preflight first so failure is clearer than blindly writing.
|
||||
preflightRes, err := runner.RunWithOptions(
|
||||
ctx,
|
||||
"/fw_printenv",
|
||||
"fw_printenv",
|
||||
[]string{"-c", configPath},
|
||||
system.RunOptions{
|
||||
Quiet: true,
|
||||
@@ -70,7 +70,7 @@ func newInternalFWSetEnvCmd() *cobra.Command {
|
||||
|
||||
res, err := runner.RunWithOptions(
|
||||
ctx,
|
||||
"/fw_setenv",
|
||||
"fw_setenv",
|
||||
[]string{
|
||||
"-c", configPath,
|
||||
key, value,
|
||||
|
||||
Reference in New Issue
Block a user