openwrt_archive/net/cups/files/cupsd.init

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
}