diff options
author | khilman <khilman@users.noreply.github.com> | 2018-02-06 15:49:45 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-06 15:49:45 -0800 |
commit | e133ad82d7f0bb710f3f1a2b1f12ad932e577592 (patch) | |
tree | 1b99b4f7d782f433b2ee1f672899fde2db0ee5bc /lavalab-gen.sh | |
parent | 8ebd1780f24f983907bf3d7d30b4306b67e0dae5 (diff) | |
parent | dd13a9f0eb4732e72082738f800b81a92d0eb10c (diff) |
Merge pull request #18 from montjoie/rework-udev
Rework udev
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 26cbc23..d6fcf94 100755 --- a/lavalab-gen.sh +++ b/lavalab-gen.sh @@ -5,7 +5,7 @@ rm -rv lava-master/slaves/ rm -rv lava-slave/conmux/ rm -rv lava-master/tokens/ rm -rv lava-master/users/ -rm lavalab*rules +rm udev/*lavalab*rules if [ "$1" = "mrproper" ];then exit 0 @@ -19,7 +19,7 @@ if [ $(id -u) -ne 0 ];then BEROOT="sudo " fi $BEROOT rm /etc/udev/rules.d/*lavalab*rules -$BEROOT cp *lavalab*rules /etc/udev/rules.d/ +$BEROOT cp udev/*lavalab*rules /etc/udev/rules.d/ $BEROOT udevadm control --reload-rules || exit $? $BEROOT udevadm trigger || exit $? |