Refine Red Bear profile configs
Red Bear OS Team
This commit is contained in:
@@ -23,6 +23,15 @@ Connection=ethernet
|
||||
IP=dhcp
|
||||
"""
|
||||
|
||||
[[files]]
|
||||
path = "/etc/netctl/wired-dhcp"
|
||||
data = """
|
||||
Description='Red Bear wired DHCP profile'
|
||||
Interface=eth0
|
||||
Connection=ethernet
|
||||
IP=dhcp
|
||||
"""
|
||||
|
||||
[[files]]
|
||||
path = "/etc/netctl/examples/wired-static"
|
||||
data = """
|
||||
@@ -35,6 +44,51 @@ Gateway='192.168.1.1'
|
||||
DNS=('1.1.1.1')
|
||||
"""
|
||||
|
||||
[[files]]
|
||||
path = "/etc/netctl/examples/wifi-dhcp"
|
||||
data = """
|
||||
Description='Red Bear Wi-Fi DHCP profile'
|
||||
Interface=wlan0
|
||||
Connection=wifi
|
||||
SSID='example-ssid'
|
||||
Security=wpa2-psk
|
||||
Key='example-passphrase'
|
||||
IP=dhcp
|
||||
"""
|
||||
|
||||
[[files]]
|
||||
path = "/etc/netctl/examples/wifi-open"
|
||||
data = """
|
||||
Description='Red Bear Wi-Fi open-network profile'
|
||||
Interface=wlan0
|
||||
Connection=wifi
|
||||
SSID='example-open-ssid'
|
||||
Security=open
|
||||
IP=dhcp
|
||||
"""
|
||||
|
||||
[[files]]
|
||||
path = "/etc/netctl/examples/wifi-open-bounded"
|
||||
data = """
|
||||
Description='Red Bear Wi-Fi bounded lifecycle profile'
|
||||
Interface=wlan0
|
||||
Connection=wifi
|
||||
SSID='example-open-ssid'
|
||||
Security=open
|
||||
IP=bounded
|
||||
"""
|
||||
|
||||
[[files]]
|
||||
path = "/etc/netctl/wifi-open-bounded"
|
||||
data = """
|
||||
Description='Red Bear Wi-Fi bounded lifecycle profile'
|
||||
Interface=wlan0
|
||||
Connection=wifi
|
||||
SSID='example-open-ssid'
|
||||
Security=open
|
||||
IP=bounded
|
||||
"""
|
||||
|
||||
[[files]]
|
||||
path = "/usr/lib/init.d/12_netctl.service"
|
||||
data = """
|
||||
@@ -46,7 +100,7 @@ requires_weak = [
|
||||
]
|
||||
|
||||
[service]
|
||||
cmd = "netctl"
|
||||
cmd = "redbear-netctl"
|
||||
args = ["--boot"]
|
||||
type = "oneshot"
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user