packages/net/cups/files/cupsd.init
nico b1b89f0a63 packages/cups: use new service functions
git-svn-id: svn://svn.openwrt.org/openwrt/packages@28910 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-09 23:37:58 +00:00

20 lines
305 B
Bash

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