summaryrefslogtreecommitdiffstats
path: root/lavalab-gen.sh
diff options
context:
space:
mode:
authorCorentin LABBE <clabbe@baylibre.com>2018-02-16 15:01:08 +0100
committerCorentin LABBE <clabbe@baylibre.com>2018-03-08 20:07:14 +0100
commit32ad2b81fcd4ac8980a7ebbc2eb583314c3c569f (patch)
tree3b5b5854c1d85f20ef366d70eb78ca36090912d6 /lavalab-gen.sh
parent0276f97db590c8187dc6b8df21c6bb06ca53100f (diff)
Rename lab to worker
This patch fix the misleading name lab to the more proper worker since a lab could be a group of workers.
Diffstat (limited to 'lavalab-gen.sh')
-rwxr-xr-xlavalab-gen.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/lavalab-gen.sh b/lavalab-gen.sh
index d6fcf94..a227d83 100755
--- a/lavalab-gen.sh
+++ b/lavalab-gen.sh
@@ -18,8 +18,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 $?