Sets class before running any bootstrap

This commit is contained in:
Michel Fedde 2025-02-25 11:21:20 +01:00
parent abaee21ad8
commit 614aed4c12
4 changed files with 15 additions and 3 deletions

View file

@ -1,12 +0,0 @@
#!/bin/env sh
class=$(yadm config local.class)
if [[ ! -z $class ]]; then
exit 0
fi
read -p "-- Which class does this device belong to: " -r class
echo "-- Setting class and reloading alternative files"
yadm config local.class $class
yadm alt