Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
9
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Open sidebar
Ole Tange
tangetools
Commits
70ae9392
Commit
70ae9392
authored
Jun 25, 2019
by
Ole Tange
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tracefile: two char dirs were treated wrongly.
parent
7b937041
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
tracefile/tracefile
tracefile/tracefile
+1
-1
wifi-reload/wifi-reload
wifi-reload/wifi-reload
+5
-3
No files found.
tracefile/tracefile
View file @
70ae9392
...
...
@@ -279,7 +279,7 @@ while(<IN>) {
# Relative to
$dir
$file
=~ s:^([^/]):
$dir
/$1:;
$file
=~ s:/./:/:g; # /./ => /
$file
=~ s:/[^/]+/
.
./:/:g; # /foo/../ => /
$file
=~ s:/[^/]+/
\
.
\
./:/:g; # /foo/../ => /
# Match files in
$PWD
or starting with ./
my
$local
= (
$file
=~ m<^(
\
Q
$ENV
{'PWD'}
\E
|
\
./)>);
my
$read
= readfunc(
$function
,
$addinfo
);
...
...
wifi-reload/wifi-reload
View file @
70ae9392
...
...
@@ -79,9 +79,11 @@ startnm() {
config
()
{
IF
=
$1
sudo
bash
-c
'cat >> /etc/resolv.conf'
< /etc/resolvconf/resolv.conf.d/head
#sudo iwconfig wls1 essid Turris
#sudo iwconfig wls1 essid Leif
sudo
iwconfig wls1 essid SKYbroadbandCC95
sudo
iwconfig
$IF
essid Turris
#sudo iwconfig $IF essid olet
#sudo iwconfig $IF essid elverhoej
#sudo iwconfig $IF essid Leif
#sudo iwconfig wls1 essid SKYbroadbandCC95
sudo
wpa_supplicant
-c
/etc/wpa_supplicant.conf
-i
$IF
-d
&
sudo
dhclient
$IF
&
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment