From fda0825a2816f894bf23ae047676b7897bf97205 Mon Sep 17 00:00:00 2001 From: bolvan Date: Fri, 14 Oct 2016 17:42:40 +0300 Subject: [PATCH] systemd initv lsb headers --- init.d/debian7/zapret | 10 ++++++++++ 1 file changed, 10 insertions(+) mode change 100755 => 100644 init.d/debian7/zapret diff --git a/init.d/debian7/zapret b/init.d/debian7/zapret old mode 100755 new mode 100644 index c785fcd..fa33d06 --- a/init.d/debian7/zapret +++ b/init.d/debian7/zapret @@ -1,4 +1,14 @@ #!/bin/sh +# For systemd : +# install : /usr/lib/lsb/install_initd zapret +# remove : /usr/lib/lsb/remove_initd zapret +### BEGIN INIT INFO +# Provides: zapret +# Required-Start: $local_fs $network +# Required-Stop: $local_fs $network +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO # CHOOSE ISP HERE. UNCOMMENT ONLY ONE LINE. ISP=mns