From 526ea453b3f1dd86ab3bff90f1fa09dce0d337e5 Mon Sep 17 00:00:00 2001 From: neodarz Date: Thu, 24 Aug 2017 17:24:59 +0200 Subject: Add service from wifi to internet --- services-root/internet-from_wifi_to_internet.service | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 services-root/internet-from_wifi_to_internet.service (limited to 'services-root') 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 -- cgit v1.2.1