ds18b20/dev.sh

13 lines
150 B
Bash
Raw Normal View History

2019-06-09 15:00:27 +08:00
#!/bin/sh
if [ -n "$1" ];then
rmmod ds18b20_224
make -j 2
insmod ds18b20_224.ko
sleep 2
fi
for i in `seq 1 10`
do
show-temp
done