From ea8b985a2f207b7974f42a0a5ba424607afab352 Mon Sep 17 00:00:00 2001 From: Julian Oes Date: Mon, 5 Jun 2023 11:19:31 +1200 Subject: [PATCH] netman: fix line too long Signed-off-by: Julian Oes --- src/systemcmds/netman/netman.cpp | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/src/systemcmds/netman/netman.cpp b/src/systemcmds/netman/netman.cpp index 39006abf75..ec423b8974 100644 --- a/src/systemcmds/netman/netman.cpp +++ b/src/systemcmds/netman/netman.cpp @@ -405,23 +405,24 @@ static void usage(const char *reason) memory. On boot the `update` option will be run. If a network configuration does not exist. The default setting will be saved in non-volatile and the system rebooted. - + #### update - + `netman update` is run automatically by [a startup script](../concept/system_startup.md#system-startup). When run, the `update` option will check for the existence of `net.cfg` in the root of the SD Card. - It then saves the network settings from `net.cfg` in non-volatile memory, + It then saves the network settings from `net.cfg` in non-volatile memory, deletes the file and reboots the system. #### save - + The `save` option will save settings from non-volatile memory to a file named - `net.cfg` on the SD Card filesystem for editing. Use this to edit the settings. + `net.cfg` on the SD Card filesystem for editing. Use this to edit the settings. Save does not immediately apply the network settings; the user must reboot the flight stack. - By contrast, the `update` command is run by the start-up script, commits the settings to non-volatile memory, and reboots the flight controller (which will then use the new settings). - + By contrast, the `update` command is run by the start-up script, commits the settings to non-volatile memory, + and reboots the flight controller (which will then use the new settings). + #### show - + The `show` option will display the network settings in `net.cfg` to the console. ### Examples