tracefile: two char dirs were treated wrongly.
This commit is contained in:
parent
7b93704129
commit
70ae9392fb
|
@ -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);
|
||||
|
|
|
@ -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 &
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue