blob: d1e6b26945ea8c3505b4ca39f8525b9a8cb2170f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
$NetBSD: patch-aj,v 1.5 2001/01/28 02:05:38 jlam Exp $
--- scripts/sysv.orig Sat Jan 27 19:27:30 2001
+++ scripts/sysv
@@ -0,0 +1,41 @@
+#!/bin/sh
+#
+# Startup script installation for SysV systems
+#
+# Copyright 1997-2000 by Easy Software Products, all rights reserved.
+#
+# These coded instructions, statements, and computer programs are the
+# property of Easy Software Products and are protected by Federal
+# copyright law. Distribution and use rights are outlined in the file
+# "LICENSE.txt" which should have been included with this file. If this
+# file is missing or damaged please contact Easy Software Products
+# at:
+#
+# Attn: CUPS Licensing Information
+# Easy Software Products
+# 44141 Airport View Drive, Suite 204
+# Hollywood, Maryland 20636-3111 USA
+#
+# Voice: (301) 373-9603
+# EMail: cups-info@cups.org
+# WWW: http://www.cups.org
+#
+
+. scripts/common
+
+${MKDIR} ${prefix}/${INITDIR}/init.d
+${RM} ${prefix}/${INITDIR}/init.d/cups
+${INSTALL_SCRIPT} cups.sh ${prefix}/${INITDIR}/init.d/cups
+${CHMOD} ugo+rx ${prefix}/${INITDIR}/init.d/cups
+
+${MKDIR} ${prefix}/${INITDIR}/rc0.d
+${RM} ${prefix}/${INITDIR}/rc0.d/K00cups
+${LN} ${INITDDIR}/cups ${prefix}/${INITDIR}/rc0.d/K00cups
+
+${MKDIR} ${prefix}/${INITDIR}/rc3.d
+${RM} ${prefix}/${INITDIR}/rc3.d/S99cups
+${LN} ${INITDDIR}/cups ${prefix}/${INITDIR}/rc3.d/S99cups
+
+${MKDIR} ${prefix}/${INITDIR}/rc5.d
+${RM} ${prefix}/${INITDIR}/rc5.d/S99cups
+${LN} ${INITDDIR}/cups ${prefix}/${INITDIR}/rc5.d/S99cups
|