mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-19 14:13:30 +00:00
Merge pull request #496 from Cherisher/patch-1
fixed exists /dev/sfe_ipv6
This commit is contained in:
commit
4e570bad9e
@ -20,7 +20,7 @@ start(){
|
||||
if [ $ipv6 -eq 1 ]; then
|
||||
echo "ipv6"
|
||||
sfe_ipv6=$(cat /sys/sfe_ipv6/debug_dev)
|
||||
[ -f /dev/sfe_ipv6 ] && mknod /dev/sfe_ipv6 c $sfe_ipv6 0
|
||||
[ ! -f /dev/sfe_ipv6 ] && mknod /dev/sfe_ipv6 c $sfe_ipv6 0
|
||||
else
|
||||
echo "no ipv6"
|
||||
rm -f /dev/sfe_ipv6
|
||||
|
Loading…
Reference in New Issue
Block a user