summaryrefslogtreecommitdiffstats
path: root/lavalab-gen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'lavalab-gen.sh')
-rwxr-xr-xlavalab-gen.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/lavalab-gen.sh b/lavalab-gen.sh
index d6fcf94..60c5d94 100755
--- a/lavalab-gen.sh
+++ b/lavalab-gen.sh
@@ -6,6 +6,9 @@ rm -rv lava-slave/conmux/
rm -rv lava-master/tokens/
rm -rv lava-master/users/
rm udev/*lavalab*rules
+rm lava-master/scripts/build-lava
+rm lava-slave/scripts/build-lava
+rm docker-compose.yml
if [ "$1" = "mrproper" ];then
exit 0
@@ -18,8 +21,8 @@ BEROOT=""
if [ $(id -u) -ne 0 ];then
BEROOT="sudo "
fi
-$BEROOT rm /etc/udev/rules.d/*lavalab*rules
-$BEROOT cp udev/*lavalab*rules /etc/udev/rules.d/
+$BEROOT rm /etc/udev/rules.d/*lava*rules
+$BEROOT cp udev/*lava*rules /etc/udev/rules.d/
$BEROOT udevadm control --reload-rules || exit $?
$BEROOT udevadm trigger || exit $?