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@iro.umontreal.ca>
SVN-Revision: 14303
START=50
start() {
- mkdir -p /tmp/cups
- mkdir -p /tmp/spool/cups/tmp
+ mkdir -p /var/cups
+ mkdir -p /var/spool/cups/tmp
/usr/sbin/cupsd
}
MaxPrinterHistory 10
#Printcap /etc/printcap
#PrintcapFormat BSD
-RequestRoot /tmp/cups
+RequestRoot /var/cups
#RemoteRoot remroot
User root
Group root
RIPCache 512k
-TempDir /tmp/cups
+TempDir /var/cups
Port 631
HostNameLookups Off
KeepAlive On