Browse Source

fastd: replace ifconfig by ip link set

Karsten Böddeker 6 years ago
parent
commit
1da2b1783d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      fastd/fastd.conf

+ 2 - 2
fastd/fastd.conf

@@ -41,9 +41,9 @@ mtu 1406;
 status socket "/var/run/fastd.{{ site }}_{{ network }}.sock";
 
 on up "
-	ifconfig $INTERFACE down
+	ip link set $INTERFACE down
 	ip link set address {{ mac_address }} dev $INTERFACE
-	ifconfig $INTERFACE up
+	ip link set $INTERFACE up
 
 	batctl -m {{ bat_iface }} if add $INTERFACE
 ";