Skip to content

Commit f036abe

Browse files
committed
20211015 Getting started documentation
The `grep` command for the first recommended system patch uses un-escaped wildcards. It will always succeed so multiple calls will keep appending `allow interfaces` to `/etc/dhcpcd.conf`. That doesn't actually matter but it is untidy.
1 parent 651a30b commit f036abe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/Getting-Started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ If you are still running on gcgarner/IOTstack and need to migrate to SensorsIot/
126126
Run the following commands:
127127

128128
```
129-
$ sudo bash -c '[ $(egrep -c "^allowinterfaces eth*,wlan*" /etc/dhcpcd.conf) -eq 0 ] && echo "allowinterfaces eth*,wlan*" >> /etc/dhcpcd.conf'
129+
$ sudo bash -c '[ $(egrep -c "^allowinterfaces eth\*,wlan\*" /etc/dhcpcd.conf) -eq 0 ] && echo "allowinterfaces eth*,wlan*" >> /etc/dhcpcd.conf'
130130
$ sudo reboot
131131
```
132132

0 commit comments

Comments
 (0)