udev rules and systemd service to automatically configure and bring up/down usb slcan interfaces.
Modify ATTRS{idVendor}
and ATTRS{idProduct}
or add other attributes within 90-usb-slcan.rules
to match your device.
cp 90-usb-slcan.rules /etc/udev/rules.d/
cp slcan_add.sh /usr/local/bin/
cp slcan@.service /etc/systemd/system/