You are not logged in.

#1 2015-10-01 02:34:06

e996
Member
Registered: 2015-10-01
Posts: 9

Running commands on boot

I realize this is just about the newbiest question I could ask, but how do I run these two commands on boot? My first thought was adding them to ~/.xinitrc but that doesn't work. If it helps, they both require a password.

sudo ip link set wlan0 down
netctl start wlan0_oxyairnet

Offline

#2 2015-10-01 02:46:39

mpan
Member
Registered: 2012-08-01
Posts: 1,216
Website

Re: Running commands on boot

Assuming that you're using netctl:

# netctl enable wlan0_oxyairnet

Also read about netctl and systemd on Wiki.


Sometimes I seem a bit harsh — don’t get offended too easily!

Offline

#3 2015-10-01 03:01:19

e996
Member
Registered: 2015-10-01
Posts: 9

Re: Running commands on boot

mpan wrote:

Assuming that you're using netctl:

# netctl enable wlan0_oxyairnet

Also read about netctl and systemd on Wiki.

Wow, can't believe I didn't think of that. Thanks a bunch.

Offline

Board footer

Powered by FluxBB