mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-19 03:43:29 +00:00
fixed exists /dev/sfe_ipv6
如果/dev/sfe_ipv6字符设备不存在,则创建该设备
This commit is contained in:
parent
db75f73a54
commit
c376bb764b
@ -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