Remove control characters from systemctl command output
Change-Id: Idca394bca37bb3d167ec7c3a79a41b699c551172
(cherry picked from commit 198c00cf16
)
This commit is contained in:
parent
9561fbf88f
commit
a4d550ec73
@ -277,7 +277,7 @@ if [ `command -v ovs-vsctl` ]; then
|
|||||||
sudo ovs-vsctl show > $LOG_DIR/ovs-vsctl_show.txt
|
sudo ovs-vsctl show > $LOG_DIR/ovs-vsctl_show.txt
|
||||||
fi
|
fi
|
||||||
sudo netstat -tulpn > $LOG_DIR/netstat.txt
|
sudo netstat -tulpn > $LOG_DIR/netstat.txt
|
||||||
sudo systemctl status --all 2>/dev/null > $LOG_DIR/systemctl.txt
|
sudo LC_CTYPE=C SYSTEMD_COLORS=false systemctl status --all --no-pager 2>/dev/null > $LOG_DIR/systemctl.txt
|
||||||
|
|
||||||
for table in raw filter nat mangle ; do
|
for table in raw filter nat mangle ; do
|
||||||
echo $table
|
echo $table
|
||||||
|
Loading…
Reference in New Issue
Block a user