mirror of
https://gitlab.com/etherlab.org/ethercat.git
synced 2026-10-02 08:22:51 +08:00
Merged with stable-1.6
This commit is contained in:
@@ -156,13 +156,8 @@ start)
|
||||
if [ "${MODULE}" != "generic" ]; then
|
||||
STDMODULE=$(std_module_name "${MODULE}")
|
||||
# unload standard module and check if unloading was successful
|
||||
<<<<<<< Updated upstream
|
||||
${RMMOD} "${MODULE}" 2> /dev/null || true
|
||||
if ${LSMOD} | grep "^${MODULE//-/_} " > /dev/null; then
|
||||
=======
|
||||
${RMMOD} "${STDMODULE}" 2> /dev/null || true
|
||||
if ${LSMOD} | grep "^${STDMODULE} " > /dev/null; then
|
||||
>>>>>>> Stashed changes
|
||||
if ${LSMOD} | grep "^${STDMODULE//-/_} " > /dev/null; then
|
||||
# could not unload module
|
||||
${RMMOD} ${LOADED_MODULES}
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user