Skip to content

Commit

Permalink
remove networkmanager udev rule for unmanaged device
Browse files Browse the repository at this point in the history
  • Loading branch information
jeonghanlee committed Oct 12, 2019
1 parent 5891eea commit 8538330
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
9 changes: 6 additions & 3 deletions scripts/etherlab_setup.bash
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
# : Ronald Mercado
# email : jeonghan.lee@gmail.com
#
# Date : Monday, May 6 21:58:32 CEST 2019
# Date : Saturday, October 12 16:42:43 CEST 2019
#
# version : 0.1.0
# version : 0.1.1

declare -gr SC_SCRIPT="$(realpath "$0")"
declare -gr SC_SCRIPTNAME=${0##*/}
Expand Down Expand Up @@ -362,7 +362,10 @@ setup_systemd


put_udev_rule "${ECAT_KMOD_NAME}"
add_udev_rule_for_unmanaged "${ETHERCAT_MASTER0}"
# Disable unmamaged the device
# With RT, the device is NOT the network device anymore,
# So, we don't need it.
#add_udev_rule_for_unmanaged "${ETHERCAT_MASTER0}"

trigger_udev_rule

Expand Down
8 changes: 4 additions & 4 deletions scripts/etherlab_setup_clean.bash
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
#
# Copyright (c) 2018 Jeong Han Lee
# Copyright (c) 2018 - 2019 Jeong Han Lee
# Copyright (c) 2018 - 2019 European Spallation Source ERIC
#
# The program is free software: you can redistribute
Expand All @@ -18,8 +18,8 @@
#
# Author : Jeong Han Lee
# email : jeonghan.lee@gmail.com
# Date : Friday, February 1 15:50:44 CET 2019
# version : 0.0.2
# Date : Saturday, October 12 16:45:23 CEST 2019
# version : 0.0.3

declare -gr SC_SCRIPT="$(realpath "$0")"
declare -gr SC_SCRIPTNAME=${0##*/}
Expand Down Expand Up @@ -255,7 +255,7 @@ ${SUDO_CMD} -v
clean_setup_dkms_systemd
clean_setup_systemd
clean_put_udev_rule "${ECAT_KMOD_NAME}"
clean_udev_rule_for_unmanaged;
# clean_udev_rule_for_unmanaged;

reload_trigger_udev_rule

Expand Down

0 comments on commit 8538330

Please sign in to comment.