What I would like to do:
I would like to start my wireless network after login (As apposed to starting at boot).
Using my login credentials to run the command: sudo netctl start network
. Instead of needing to Login once, then login my credentials a second time to start networking, at the same time I would prefer not having my system bootup with networking enabled.
The crux:
I thought I could just add it to .xinit
but startx doesn't require sudo, however netctl does and therefore will not run.
I then thought about running it in my .bash_profile
but that doesn't seem to work, for the same reason.
Is there a way to run networking at login, while just supplying login credentials once?
OS: Arch Linux