[packages] cups: create missing directory in initscript (closes: #4973), bump release...
[openwrt/svn-archive/archive.git] / net / cups / files / cupsd.init
1 #!/bin/sh /etc/rc.common
2 # Copyright (C) 2006 OpenWrt.org
3 START=50
4
5 start() {
6 mkdir -p /var/cache/cups
7 mkdir -p /var/cups
8 mkdir -p /var/spool/cups/tmp
9 /usr/sbin/cupsd
10 }
11
12 stop() {
13 killall cupsd
14 }