source: packages/net/cups/files/cupsd.init @ 14303

Last change on this file since 14303 was 14303, checked in by florian, 8 years ago

By default OpenWRT's /var is a symlink to /tmp.
This is unusual under GNU/Linux but justified by the unusual
circumstances of limited flash space and lifetime. But there is
no reason for OpenWRT packages to presume that /tmp and /var
are always interchangeable.

The patch below fixes the cups package so that it behaves better
when used on a system with a proper /var area.

Signed-off-by: Stefan Monnier <monnier@…>

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 174 bytes
1#!/bin/sh /etc/rc.common
2# Copyright (C) 2006
5start() {
6        mkdir -p /var/cups
7        mkdir -p /var/spool/cups/tmp
8        /usr/sbin/cupsd
11stop() {
12        killall cupsd
Note: See TracBrowser for help on using the repository browser.