38 lines
651 B
Plaintext
38 lines
651 B
Plaintext
![]() |
#!/bin/bash
|
|||
|
#genpkg script f<>r cups
|
|||
|
#(c) Rainmaker MultiMedia OHG
|
|||
|
#
|
|||
|
#$Author$
|
|||
|
#$Date$
|
|||
|
#$Revision$
|
|||
|
#
|
|||
|
#$Log$
|
|||
|
#Revision 1.3 2003/02/01 17:25:09 kueller
|
|||
|
#Runlevel Modifiziert. Cups startet nach X. Damit bekommt X das Keyboard nicht
|
|||
|
#zugewiesen
|
|||
|
#
|
|||
|
#Revision 1.2 2001/10/17 10:09:45 kueller
|
|||
|
#Rechtekorrektur f<>r init script
|
|||
|
#
|
|||
|
#Revision 1.1.1.1 2001/09/23 00:15:48 kueller
|
|||
|
#Neustart wg. Datenverlust
|
|||
|
#
|
|||
|
#
|
|||
|
|
|||
|
WDIR=`pwd`
|
|||
|
cd etc/init.d
|
|||
|
chmod 755 cups
|
|||
|
mkdir rc{0,1,2,3,4,5,6}.d
|
|||
|
for i in 0 1 6; do
|
|||
|
cd rc$i.d
|
|||
|
ln -s ../cups K05cups
|
|||
|
cd ..
|
|||
|
done
|
|||
|
for i in 2 3 4 5; do
|
|||
|
cd rc$i.d
|
|||
|
ln -s ../cups S60cups
|
|||
|
cd ..
|
|||
|
done
|
|||
|
cd $WDIR
|
|||
|
mkdir -p var/log/cups var/spool/cups/tmp
|