Update 2024-02-14 07:51 OpenBSD/amd64-x13
This commit is contained in:
17
.bin/OLD/oi.sh
Normal file
17
.bin/OLD/oi.sh
Normal file
@@ -0,0 +1,17 @@
|
||||
#!/bin/sh
|
||||
doas pkill dhclient
|
||||
print connecting wifi
|
||||
doas ifconfig iwm0 nwid "E-M5MKIII-P-BJ9A11068" wpakey 18927072
|
||||
print press key when wifi is connected
|
||||
read
|
||||
doas ifconfig iwm0 inet 192.168.0.9
|
||||
sleep 1
|
||||
|
||||
mkdir $HOME/Olympus
|
||||
cd $HOME/Olympus
|
||||
for file in $(curl http://192.168.0.10/get_imglist.cgi?DIR=%2FDCIM%2F100OLYMP | cut -d"," -f1,2 | sed 's/,/\//g');
|
||||
do
|
||||
wget -nc http://192.168.0.10$file
|
||||
done
|
||||
|
||||
|
||||
Reference in New Issue
Block a user