<feed xmlns='http://www.w3.org/2005/Atom'>
<title>slacknetsetup/rc.wireless, branch current-20180531</title>
<subtitle>Migration to iproute2-based network setup</subtitle>
<link rel='alternate' type='text/html' href='https://git.rlworkman.net/slacknetsetup/'/>
<entry>
<title>More consistent logging</title>
<updated>2018-05-24T06:23:40+00:00</updated>
<author>
<name>Jakub Jankowski</name>
<email>shasta@toxcorp.com</email>
</author>
<published>2018-01-08T03:17:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rlworkman.net/slacknetsetup/commit/?id=d97ffe48193b1dfa704caf1896075702686e66c4'/>
<id>d97ffe48193b1dfa704caf1896075702686e66c4</id>
<content type='text'>
Signed-off-by: Jakub Jankowski &lt;shasta@toxcorp.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Jakub Jankowski &lt;shasta@toxcorp.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Quote variables in tests</title>
<updated>2018-05-24T06:23:40+00:00</updated>
<author>
<name>Jakub Jankowski</name>
<email>shasta@toxcorp.com</email>
</author>
<published>2018-01-08T03:13:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rlworkman.net/slacknetsetup/commit/?id=85adf99d2f9319415d9684be75a4d7793864d2c2'/>
<id>85adf99d2f9319415d9684be75a4d7793864d2c2</id>
<content type='text'>
Signed-off-by: Jakub Jankowski &lt;shasta@toxcorp.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Jakub Jankowski &lt;shasta@toxcorp.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Use pkill/pgrep</title>
<updated>2018-05-24T06:23:40+00:00</updated>
<author>
<name>Jakub Jankowski</name>
<email>shasta@toxcorp.com</email>
</author>
<published>2018-01-08T02:49:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rlworkman.net/slacknetsetup/commit/?id=59e0a7610c708c0799b141715863167ed87babd8'/>
<id>59e0a7610c708c0799b141715863167ed87babd8</id>
<content type='text'>
Instead of heavy subshelling, use pkill/pgrep. Also, be a bit more
specific on what we're killing.

Signed-off-by: Jakub Jankowski &lt;shasta@toxcorp.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of heavy subshelling, use pkill/pgrep. Also, be a bit more
specific on what we're killing.

Signed-off-by: Jakub Jankowski &lt;shasta@toxcorp.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace -a / -o in conditionals with &amp;&amp; / ||</title>
<updated>2018-05-24T06:23:40+00:00</updated>
<author>
<name>Jakub Jankowski</name>
<email>shasta@toxcorp.com</email>
</author>
<published>2018-01-08T02:41:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rlworkman.net/slacknetsetup/commit/?id=cda761f22b855806f338ece31734df1ce4824ad6'/>
<id>cda761f22b855806f338ece31734df1ce4824ad6</id>
<content type='text'>
Conditional expression like  [ test1 -a test2 ] should be avoided as it
is not well defined.
See http://pubs.opengroup.org/onlinepubs/9699919799/utilities/test.html#tag_20_128_16
and https://github.com/koalaman/shellcheck/wiki/SC2166

Signed-off-by: Jakub Jankowski &lt;shasta@toxcorp.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Conditional expression like  [ test1 -a test2 ] should be avoided as it
is not well defined.
See http://pubs.opengroup.org/onlinepubs/9699919799/utilities/test.html#tag_20_128_16
and https://github.com/koalaman/shellcheck/wiki/SC2166

Signed-off-by: Jakub Jankowski &lt;shasta@toxcorp.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Take HWADDR from sysfs</title>
<updated>2018-05-24T06:23:40+00:00</updated>
<author>
<name>Jakub Jankowski</name>
<email>shasta@toxcorp.com</email>
</author>
<published>2018-01-08T02:37:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rlworkman.net/slacknetsetup/commit/?id=2e90f05b5634c51776bb7014aeef1f903d9a4122'/>
<id>2e90f05b5634c51776bb7014aeef1f903d9a4122</id>
<content type='text'>
Instead of "ip | sed", just read the sysfs file in which hardware
address is readily presented for us.

Signed-off-by: Jakub Jankowski &lt;shasta@toxcorp.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of "ip | sed", just read the sysfs file in which hardware
address is readily presented for us.

Signed-off-by: Jakub Jankowski &lt;shasta@toxcorp.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>is_wireless_device: fix UUoC and reorder</title>
<updated>2018-05-24T06:23:40+00:00</updated>
<author>
<name>Jakub Jankowski</name>
<email>shasta@toxcorp.com</email>
</author>
<published>2018-01-08T02:30:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rlworkman.net/slacknetsetup/commit/?id=63fcb919b0cdefae3ae7cd7f933c70169c454710'/>
<id>63fcb919b0cdefae3ae7cd7f933c70169c454710</id>
<content type='text'>
There's no need to $(cat .../uevent | grep DEVTYPE) and then compare it
to what we're looking for. grep can do all of it for us ("Useless Use of
Cat").
While at it, if we have three ways of checking whether a device is
wireless, let's order them from least expensive (checking dir is only
one stat()) to most expensive (iwconfig | grep). Proof of correctness:
if "iwconfig | grep" is returning true and the other two methods are
not, we will still reach "iwconfig | grep" in the series of if/elif.

Signed-off-by: Jakub Jankowski &lt;shasta@toxcorp.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There's no need to $(cat .../uevent | grep DEVTYPE) and then compare it
to what we're looking for. grep can do all of it for us ("Useless Use of
Cat").
While at it, if we have three ways of checking whether a device is
wireless, let's order them from least expensive (checking dir is only
one stat()) to most expensive (iwconfig | grep). Proof of correctness:
if "iwconfig | grep" is returning true and the other two methods are
not, we will still reach "iwconfig | grep" in the series of if/elif.

Signed-off-by: Jakub Jankowski &lt;shasta@toxcorp.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>rc.wireless: Migrate HWADDR getting from ifconfig to iproute2</title>
<updated>2017-07-11T21:58:52+00:00</updated>
<author>
<name>Robby Workman</name>
<email>rworkman@slackware.com</email>
</author>
<published>2017-01-08T02:16:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rlworkman.net/slacknetsetup/commit/?id=ecf42b8c2825471898230d9da8fcee0a8878af8d'/>
<id>ecf42b8c2825471898230d9da8fcee0a8878af8d</id>
<content type='text'>
TODO: Someone fluent with sed needs to review this...
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
TODO: Someone fluent with sed needs to review this...
</pre>
</div>
</content>
</entry>
<entry>
<title>rc.wireless: Migrate ifconfig --&gt; ip link set dev $IF</title>
<updated>2017-07-11T21:58:52+00:00</updated>
<author>
<name>Robby Workman</name>
<email>rworkman@slackware.com</email>
</author>
<published>2017-01-08T01:59:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rlworkman.net/slacknetsetup/commit/?id=764f4c2d9d3a8ebcb3ff8b9dce27817788ecfffe'/>
<id>764f4c2d9d3a8ebcb3ff8b9dce27817788ecfffe</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Initial commit of rc.inet1* and rc.wireless*</title>
<updated>2017-01-06T21:27:27+00:00</updated>
<author>
<name>Robby Workman</name>
<email>rworkman@slackware.com</email>
</author>
<published>2017-01-06T21:27:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rlworkman.net/slacknetsetup/commit/?id=2b563b7a34b1d00d7162983ff13c12867cc62c2e'/>
<id>2b563b7a34b1d00d7162983ff13c12867cc62c2e</id>
<content type='text'>
If other files are needed, they can be added later
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If other files are needed, they can be added later
</pre>
</div>
</content>
</entry>
</feed>
