Changes for page Openwrt Notes

Last modified by Leon Poon on 2019/11/02 17:53

From version 21.1
edited by Leon Poon
on 2019/01/06 13:46
Change comment: There is no comment for this version
To version 22.1
edited by Leon Poon
on 2019/01/06 13:49
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -83,7 +83,8 @@
83 83  = Network =
84 84  
85 85  {{code language="bash"}}
86 -sed -re 's/^boot_run_hook/#\0/g' < /etc/preinit | PREINIT=1 . <(cat)
86 +sed -re 's/^boot_run_hook/#\0/g' -i /etc/preinit
87 +PREINIT=1 . /etc/preinit
87 87  for pi_ifname in eth0.1 eth0.2; do
88 88   preinit_ip
89 89   ip -4 address flush dev $pi_ifname