Bob Mottram 10 lat temu
rodzic
commit
1f5177a44c
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2
    2
      src/freedombone

+ 2
- 2
src/freedombone Wyświetl plik

1586
   apt-get -y install babeld avahi-utils avahi-autoipd
1586
   apt-get -y install babeld avahi-utils avahi-autoipd
1587
 
1587
 
1588
   numarray=( 1 2 3 4 5 6 7 8 9 0 )
1588
   numarray=( 1 2 3 4 5 6 7 8 9 0 )
1589
-  a=${numarray[$RANDOM%10]}${numarray[$RANDOM%10]}
1590
-  b=${numarray[$RANDOM%10]}${numarray[$RANDOM%10]}
1589
+  a=${numarray[$RANDOM%2]}${numarray[$RANDOM%10]}${numarray[$RANDOM%10]}
1590
+  b=${numarray[$RANDOM%2]}${numarray[$RANDOM%10]}${numarray[$RANDOM%10]}
1591
   echo '#!/bin/sh' > /usr/bin/mesh-babel
1591
   echo '#!/bin/sh' > /usr/bin/mesh-babel
1592
   echo 'systemctl stop networking' >> /usr/bin/mesh-babel
1592
   echo 'systemctl stop networking' >> /usr/bin/mesh-babel
1593
   echo 'ifconfig wlan0 down' >> /usr/bin/mesh-babel
1593
   echo 'ifconfig wlan0 down' >> /usr/bin/mesh-babel