change order of reconfigure/reload (important)

This commit is contained in:
Brandon Thomas committed 2020-09-15 23:59:08 -04:00
1 parent 2d3aac80a7
commit 4cf253bec0
3 files changed
+12 -1

No files matched your search

+3
View File
@@ -37,6 +37,9 @@ impl WebcamWriter {
let buffer_size = width * height * bit_depth;
info!("Webcam writer buffer size: {} (width: {}, height: {}, bit depth: {}",
buffer_size, width, height, bit_depth);
let mut buffer = Vec::with_capacity(buffer_size);
buffer.resize(buffer_size, 0);
+5
View File
@@ -3,4 +3,9 @@
echo "This is killing all the browsers. Hope that's fine..."
killall /usr/lib/firefox/firefox
killall /usr/lib/chromium-browser/chromium-browser
killall camera
killall ./target/release/camera
+4 -1
View File
@@ -3,6 +3,10 @@
set -euxo pipefail
echo "Replace config file."
sudo cp config.ini /etc/akvcam/config.ini
echo "Recycle driver."
pushd akvcam/src
sudo modprobe videodev
@@ -11,7 +15,6 @@ sudo rmmod akvcam.ko
#sudo insmod akvcam.ko
sudo insmod akvcam.ko loglevel=7
#sudo modprobe akvcam loglevel=7
popd