소스 검색

fix command name

abhishek9686 7 달 전
부모
커밋
ec9a7a9627
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      scripts/nm-quick.sh

+ 1 - 1
scripts/nm-quick.sh

@@ -209,7 +209,7 @@ wait_seconds() { (
 ); }
 
 # Function to check if any public IP is bound to the network interfaces
-has_public_ip() {
+has_public_ip_on_interface() {
     for interface in $(ip -o link show | awk -F': ' '{print $2}'); do
         # Get the IP address of the interface
         ip=$(ip -o -f inet addr show $interface | awk '{print $4}' | cut -d'/' -f1)