Compare commits
3 Commits
main
...
developmen
| Author | SHA1 | Date | |
|---|---|---|---|
| d1063b5725 | |||
| 35978ee629 | |||
| 690a7d4a0b |
5
config/claude_haiku.conf
Normal file
5
config/claude_haiku.conf
Normal file
@@ -0,0 +1,5 @@
|
||||
# Claude Haiku 4.5 feature toggle
|
||||
# Set ENABLE_CLAUDE_HAIKU_4_5 to true to enable for all clients.
|
||||
ENABLE_CLAUDE_HAIKU_4_5=true
|
||||
APPLIES_TO=all_clients
|
||||
DESCRIPTION=Enables Claude Haiku 4.5 for all clients. Toggle to false to disable.
|
||||
@@ -2,13 +2,30 @@
|
||||
|
||||
echo "Stopping mhvtl Virtual Tape Library..."
|
||||
|
||||
CONFIG_FILE="/etc/mhvtl/device.conf"
|
||||
|
||||
# First try graceful shutdown using vtlcmd for each configured Drive
|
||||
if [ -f "$CONFIG_FILE" ] && command -v vtlcmd >/dev/null 2>&1; then
|
||||
DRIVES=$(grep "^Drive:" "$CONFIG_FILE" | awk '{print $2}' | sort -u)
|
||||
for d in $DRIVES; do
|
||||
if pgrep -f "vtltape.*-q $d" >/dev/null; then
|
||||
echo "Attempting graceful shutdown of vtltape (queue $d)..."
|
||||
/usr/bin/vtlcmd $d exit || true
|
||||
fi
|
||||
done
|
||||
# Give processes a few seconds to exit cleanly
|
||||
sleep 3
|
||||
fi
|
||||
|
||||
# Fallback: ensure vtllibrary and any remaining vtltape processes are killed
|
||||
killall vtllibrary 2>/dev/null || true
|
||||
killall vtltape 2>/dev/null || true
|
||||
|
||||
sleep 2
|
||||
sleep 1
|
||||
|
||||
rm -f /var/lock/mhvtl/mhvtl* 2>/dev/null || true
|
||||
|
||||
# Try to remove kernel module if present
|
||||
rmmod mhvtl 2>/dev/null || true
|
||||
|
||||
echo "mhvtl stopped successfully"
|
||||
|
||||
1
wget-log
1
wget-log
@@ -1 +0,0 @@
|
||||
2025-12-08 18:14:21 URL:http://deb.debian.org/debian/dists/bookworm/InRelease [151080/151080] -> "/tmp/vtl-build/chroot/var/lib/apt/lists/partial/deb.debian.org_debian_dists_bookworm_InRelease" [1]
|
||||
@@ -1 +0,0 @@
|
||||
2025-12-08 18:14:27 URL:http://deb.debian.org/debian/dists/bookworm/main/binary-amd64/by-hash/SHA256/3df8d07aeded5e65d9847edfa120fa5b216bbd8e0f7f048dfefe6905e4a12011 [8791424/8791424] -> "/tmp/vtl-build/chroot/var/lib/apt/lists/partial/deb.debian.org_debian_dists_bookworm_main_binary-amd64_Packages.xz" [1]
|
||||
Reference in New Issue
Block a user