Jayanth Othayoth | 9586a39 | 2017-10-15 06:02:48 -0500 | [diff] [blame] | 1 | #!/bin/bash |
2 | # | ||||
3 | # config: 123 5 | ||||
4 | # @brief: Collect current hostname settings. | ||||
5 | # | ||||
6 | |||||
7 | . $DREPORT_INCLUDE/functions | ||||
8 | |||||
9 | desc="hostnamectl" | ||||
10 | file_name="hostnamectl.log" | ||||
11 | command="hostnamectl status" | ||||
12 | |||||
13 | add_cmd_output "$command" "$file_name" "$desc" |