mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-15 14:22:14 +00:00
change order of reconfigure/reload (important)
This commit is contained in:
1 parent
2d3aac80a7
commit
4cf253bec0
3 files changed
+12
-1
No files matched your search
@@ -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);
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user