diff options
Diffstat (limited to 'lavalab-gen.sh')
-rwxr-xr-x | lavalab-gen.sh | 4 |
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 $? |