summaryrefslogtreecommitdiffstats
path: root/src/netctl.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/netctl.in')
-rw-r--r--src/netctl.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/netctl.in b/src/netctl.in
index 90be39e..b66cf71 100644
--- a/src/netctl.in
+++ b/src/netctl.in
@@ -109,6 +109,7 @@ unit_enable() {
return 1
fi
load_profile "$1"
+ do_readable touch "$unit"
echo ".include @systemdsystemunitdir@/netctl@.service" > "$unit"
echo -e "\n[Unit]" >> "$unit"
[[ -n $Description ]] && echo "Description=$Description" >> "$unit"