diff options
author | Corentin LABBE <clabbe@baylibre.com> | 2020-09-04 08:38:23 +0200 |
---|---|---|
committer | Corentin LABBE <clabbe@baylibre.com> | 2020-09-04 08:38:23 +0200 |
commit | d8946b8d6d98d67807f0b441e22a7a978a6a67ef (patch) | |
tree | 29af613267aaf882d16f7e3ca644f61e4a7f2f2e /deploy.sh | |
parent | b91a3d121f605da92af54de91d1b790c6df80598 (diff) |
deploy.sh: Remove udev rules in a more restrictive way
Now lava-dispatcher-host package exists, we should not remove its udev
rules.
So remove only only lava-docker rules.
Diffstat (limited to 'deploy.sh')
-rwxr-xr-x | deploy.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -5,8 +5,8 @@ BEROOT="" if [ $(id -u) -ne 0 ];then BEROOT="sudo " fi -$BEROOT rm /etc/udev/rules.d/*lava*rules -$BEROOT cp udev/*lava*rules /etc/udev/rules.d/ +$BEROOT rm /etc/udev/rules.d/*lavaworker-udev*rules +$BEROOT cp udev/*lavaworker-udev*rules /etc/udev/rules.d/ $BEROOT udevadm control --reload-rules || exit $? $BEROOT udevadm trigger || exit $? |