packages/net/cups/files/cupsd.init
nico cd88c5ca15 [packages] cups: create missing directory in initscript (closes: #4973), bump release number
git-svn-id: svn://svn.openwrt.org/openwrt/packages@15310 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-20 23:22:26 +00:00

15 lines
200 B
Bash

#!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org
START=50
start() {
mkdir -p /var/cache/cups
mkdir -p /var/cups
mkdir -p /var/spool/cups/tmp
/usr/sbin/cupsd
}
stop() {
killall cupsd
}