From 563b806f722b9333fca20583be76531e25a09330 Mon Sep 17 00:00:00 2001 From: MCamp859 Date: Wed, 11 Apr 2018 15:20:04 -0400 Subject: [PATCH 1/3] Edited time guide for grammar, formatting, and text flow. Changed code-block to bash and made minor text changes. Signed-off-by: MCamp859 --- .../clear-linux/guides/maintenance/time.rst | 39 ++++++++++--------- 1 file changed, 20 insertions(+), 19 deletions(-) diff --git a/source/clear-linux/guides/maintenance/time.rst b/source/clear-linux/guides/maintenance/time.rst index abd145f2..f45b6f2c 100644 --- a/source/clear-linux/guides/maintenance/time.rst +++ b/source/clear-linux/guides/maintenance/time.rst @@ -5,35 +5,36 @@ Set the time |CLOSIA| uses the `systemd-timesyncd.service` daemon to synchronize time. -This section provides instructions to reset the time in your |CL| system when +This guide describes how to reset the time in your |CL| system when the default :abbr:`NTP (Network Time Protocol)` servers cannot be reached. -#. Install the `sysadmin-basic` bundle: +#. Install the `sysadmin-basic` bundle. - .. code-block:: console + .. code-block:: bash swupd bundle-add sysadmin-basic -#. Set your timezone. This example uses Los Angeles. +#. Set your time zone. This example uses Los Angeles. - .. code-block:: console + .. code-block:: bash timedatectl set-timezone America/Los_Angeles .. note:: - To see a list of timezones, enter: - `timedatectl list-timezones | grep ` + + To see a list of time zones, use the command: + :command:`timedatectl list-timezones | grep ` #. Create a :file:`/etc/systemd/` directory. - .. code-block:: console + .. code-block:: bash mkdir -p /etc/systemd/ #. Create a new file named :file:`/etc/systemd/timesyncd.conf` and enter the - following: + following text. - .. code-block:: .conf + .. code-block:: bash [Time] NTP= @@ -41,21 +42,21 @@ the default :abbr:`NTP (Network Time Protocol)` servers cannot be reached. #. Enable the `systemd-timesyncd` service. - .. code-block:: console + .. code-block:: bash timedatectl set-ntp true .. note:: - Use the :command:`timedatectl status` command to check the service status. - To restart the `timesyncd` daemon, enter :command:`systemctl restart systemd-timesyncd` - into your terminal emulator. + To check the service status, use the :command:`timedatectl status` command. -Congratulations! You have successfully set up the time in your |CL| system. + To restart the `timesyncd` daemon, enter :command:`systemctl restart + systemd-timesyncd` into your terminal emulator. -Further, you are now able to change the time and timezone from your |CL| -desktop. The :guilabel:`Date & Time` options are located in the -:guilabel:`Settings` application under the :guilabel:`Details` -tab. +**Congratulations!** You successfully set up the time in your |CL| system. +You can change the time and time zone from your |CL| desktop. Under the +:guilabel:`Details` tab, select the :guilabel:`Settings` application, then +select :guilabel:`Date & Time` options. + From 463847b251f43fe6387ddb50b20686f14d7ecbc0 Mon Sep 17 00:00:00 2001 From: MCamp859 Date: Thu, 19 Apr 2018 14:41:45 -0400 Subject: [PATCH 2/3] Incorporated review feedback in time guide. Signed-off-by: MCamp859 --- source/clear-linux/guides/maintenance/time.rst | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/source/clear-linux/guides/maintenance/time.rst b/source/clear-linux/guides/maintenance/time.rst index f45b6f2c..0a1d8866 100644 --- a/source/clear-linux/guides/maintenance/time.rst +++ b/source/clear-linux/guides/maintenance/time.rst @@ -12,7 +12,7 @@ the default :abbr:`NTP (Network Time Protocol)` servers cannot be reached. .. code-block:: bash - swupd bundle-add sysadmin-basic + sudo swupd bundle-add sysadmin-basic #. Set your time zone. This example uses Los Angeles. @@ -34,7 +34,7 @@ the default :abbr:`NTP (Network Time Protocol)` servers cannot be reached. #. Create a new file named :file:`/etc/systemd/timesyncd.conf` and enter the following text. - .. code-block:: bash + .. code-block:: console [Time] NTP= @@ -56,7 +56,3 @@ the default :abbr:`NTP (Network Time Protocol)` servers cannot be reached. **Congratulations!** You successfully set up the time in your |CL| system. -You can change the time and time zone from your |CL| desktop. Under the -:guilabel:`Details` tab, select the :guilabel:`Settings` application, then -select :guilabel:`Date & Time` options. - From c2f67addd15dd5aa8541e6dee1b33b7c2fa5bd2e Mon Sep 17 00:00:00 2001 From: MCamp859 Date: Thu, 19 Apr 2018 18:43:33 -0400 Subject: [PATCH 3/3] Completed review feedback in time doc. Signed-off-by: MCamp859 --- source/clear-linux/guides/maintenance/time.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/clear-linux/guides/maintenance/time.rst b/source/clear-linux/guides/maintenance/time.rst index 0a1d8866..4a8b75dd 100644 --- a/source/clear-linux/guides/maintenance/time.rst +++ b/source/clear-linux/guides/maintenance/time.rst @@ -29,7 +29,7 @@ the default :abbr:`NTP (Network Time Protocol)` servers cannot be reached. .. code-block:: bash - mkdir -p /etc/systemd/ + sudo mkdir -p /etc/systemd/ #. Create a new file named :file:`/etc/systemd/timesyncd.conf` and enter the following text.