اصلاح bootargs
This commit is contained in:
@@ -206,7 +206,7 @@ def boot_config(cli, confirmed=False):
|
|||||||
if not confirmed:
|
if not confirmed:
|
||||||
print("\nBoot configuration inspected; no changes requested.")
|
print("\nBoot configuration inspected; no changes requested.")
|
||||||
return
|
return
|
||||||
bootargs = "console=ttyS0,115200 loglevel=8 root=/dev/mtdblock3 rootfstype=squashfs ro rootwait"
|
bootargs = "console=ttyS0,115200 loglevel=1 root=/dev/mtdblock3 rootfstype=squashfs ro rootwait"
|
||||||
cli.command("setenv bootargs '" + bootargs + "'")
|
cli.command("setenv bootargs '" + bootargs + "'")
|
||||||
cli.command("printenv bootargs", r"^bootargs=" + re.escape(bootargs) + r"$")
|
cli.command("printenv bootargs", r"^bootargs=" + re.escape(bootargs) + r"$")
|
||||||
print("\nBootargs verified in RAM; environment not saved and board not rebooted.")
|
print("\nBootargs verified in RAM; environment not saved and board not rebooted.")
|
||||||
|
|||||||
مرجع در شماره جدید
مسدود کردن کاربر