Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
F
fuswim
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sysadmin
fuswim
Commits
432ccfe8
Commit
432ccfe8
authored
Jul 24, 2021
by
Stefy Lanza (nextime / spora )
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Some comments
parent
66ad7a10
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
fuswim
fuswim
+4
-0
No files found.
fuswim
View file @
432ccfe8
...
...
@@ -155,6 +155,8 @@ def validateIP(ip):
return
False
# XXX This is CRAP. Let's find a better
# way to parse a better config?
def
read_netconf
(
net
):
p
=
"/"
.
join
([
NETPATH
,
net
])
conf
=
{
...
...
@@ -466,6 +468,7 @@ while not EXIT:
print_error
(
"FUCK, Are you asking me to connect but you didn't select successfully any network???"
)
if
done
:
# TODO launch here a post-connect external script?
print
(
colors
.
BCYAN
+
"
\n
Are we fucking connected? Up to you to check, do something for fuck sake!
\n
"
+
colors
.
ENDC
)
if
boot
:
if
done
:
...
...
@@ -519,6 +522,7 @@ while not EXIT:
if
not
selected
[
'conf'
][
'saved'
]:
if
insertNetwork
(
selected
):
SM
=
"connect"
# TODO launch a pre-connect external script
else
:
print_error
(
" FUCK, it seems i can't add this fucking network "
)
time
.
sleep
(
1
)
...
...
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