aboutsummaryrefslogtreecommitdiff
path: root/print/hplip3/files/hpiod.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'print/hplip3/files/hpiod.sh.in')
-rw-r--r--print/hplip3/files/hpiod.sh.in31
1 files changed, 0 insertions, 31 deletions
diff --git a/print/hplip3/files/hpiod.sh.in b/print/hplip3/files/hpiod.sh.in
deleted file mode 100644
index b24681234b8c..000000000000
--- a/print/hplip3/files/hpiod.sh.in
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/bin/sh
-
-# PROVIDE: hpiod
-# REQUIRE: NETWORKING
-# KEYWORD: shutdown
-
-. %%RC_SUBR%%
-
-name=hpiod
-rcvar=${name}_enable
-
-command="%%PREFIX%%/sbin/${name}"
-pidfile="/var/run/${name}.pid"
-portfile="/var/run/${name}.port"
-hpiod_user=hplip
-
-start_precmd="hpiod_prestart"
-
-load_rc_config $name
-
-: ${hpiod_enable="NO"}
-
-hpiod_prestart()
-{
- touch ${pidfile}
- touch ${portfile}
- chown ${hpiod_user} ${pidfile}
- chown ${hpiod_user} ${portfile}
-}
-
-run_rc_command $*