aboutsummaryrefslogtreecommitdiff
path: root/services-root
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2017-08-24 17:24:59 +0200
committerneodarz <neodarz@neodarz.net>2017-08-24 17:24:59 +0200
commit526ea453b3f1dd86ab3bff90f1fa09dce0d337e5 (patch)
tree736df309ecd92e3672ca1ae0ee4d27b9ee1735e1 /services-root
parent0d28f0d5775a3d1b0ed00016b4d7c75e1fe29b10 (diff)
downloaddotfiles_ascii-526ea453b3f1dd86ab3bff90f1fa09dce0d337e5.tar.xz
dotfiles_ascii-526ea453b3f1dd86ab3bff90f1fa09dce0d337e5.zip
Add service from wifi to internet
Diffstat (limited to 'services-root')
-rw-r--r--services-root/internet-from_wifi_to_internet.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/services-root/internet-from_wifi_to_internet.service b/services-root/internet-from_wifi_to_internet.service
new file mode 100644
index 0000000..4c68ed4
--- /dev/null
+++ b/services-root/internet-from_wifi_to_internet.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Internet forwading
+After=network-pre.target
+Before=network.target netctl.service
+Wants=network.target
+
+[Service]
+RemainAfterExit=yes
+ExecStart=/home/neodarz/internet.sh start
+ExecStop=/home/neodarz/internet.sh stop
+
+[Install]
+WantedBy=multi-user.target