source: debian/inst/run-checkpc @ 1bdadfb

debianmacno-cupsnodebathenaweb
Last change on this file since 1bdadfb was 1bdadfb, checked in by Jessica B. Hamrick <jhamrick@…>, 15 years ago

debuild runs without any lintian errors.

  • Property mode set to 100755
File size: 340 bytes
Line 
1#!/bin/sh
2
3# make sure directories exist for checkpc
4if [ ! -d /var/spool/lpd ]; then
5    mkdir /var/spool/lpd
6    mkdir /var/spool/lpd/%P
7else
8    if [ ! -d /var/spool/lpd/%P ]; then
9        mkdir /var/spool/lpd/%P
10    fi
11fi
12chmod og=rwx /var/spool/lpd
13chmod og=rwx /var/spool/lpd/%P
14echo "Running checkpc..."
15/usr/sbin/checkpc -V -f >> /dev/null
Note: See TracBrowser for help on using the repository browser.