From 8412988ff59c6b8a17c6fca71abd177e04e06aa6 Mon Sep 17 00:00:00 2001 From: borekon Date: Mon, 23 Jan 2023 08:09:23 +0000 Subject: [PATCH] Actualizar 'ifaces.sh' --- ifaces.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ifaces.sh b/ifaces.sh index 32cb428..915dbf6 100644 --- a/ifaces.sh +++ b/ifaces.sh @@ -1,8 +1,9 @@ #!/bin/bash IFACE=$(ip -br l | grep enp | awk '$1 !~ "lo|vir|wl" { print $1}') -sudo echo "" >> /etc/issue +echo "" | sudo tee -a /etc/issue for i in $IFACE; do #echo "$i" - sudo echo "$i: \4{$i}" >> /etc/issue -done \ No newline at end of file + echo "$i: \4{$i}" | sudo tee -a /etc/issue +done +echo "" | sudo tee -a /etc/issue \ No newline at end of file