more versatile rc.local file with more hardware support

This commit is contained in:
root 2018-07-31 09:24:43 +00:00
parent 1bc3a07b9f
commit fcf5d208d7
1 changed files with 1 additions and 1 deletions

View File

@ -1,3 +1,3 @@
#!/bin/bash
echo lldp stop | /usr/bin/tee /sys/kernel/debug/i40e/*/command
[ -d /sys/kernel/debug/i40e ] && echo lldp stop | /usr/bin/tee /sys/kernel/debug/i40e/*/command