Changeset 5b82eed
- Timestamp:
- Mar 17, 2010, 7:50:38 PM (15 years ago)
- Branches:
- master, debian, mac, no-cups, nodebathena, web
- Children:
- 568d777
- Parents:
- 3b4b994
- git-author:
- Jessica B. Hamrick <jhamrick@…> (03/17/10 19:50:38)
- git-committer:
- Jessica B. Hamrick <jhamrick@…> (03/17/10 19:50:38)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gutenbach/debian/inst/edit-lpd.perms
rc631d1a r5b82eed 4 4 # (comment out REJECT NOT SERVER) 5 5 # allow other users to dequeue music 6 # (comment out REJECT SERVICE=M 6 # (comment out REJECT SERVICE=M) 7 # make it only accept A jobs 8 # (add 9 # ACCEPT SERVICE=R,P SERVER 10 # ACCEPT C=CA* SERVICE=R,P 11 # REJECT SERVICE=R,P) 12 7 13 echo "Editing /etc/lprng/lpd.perms..." >&2 8 14 if [ -e /etc/lprng/lpd.perms ]; then … … 14 20 if [ -n "$reject_not_server" ]; then 15 21 echo "#$line" >> /etc/lprng/lpd.perms 22 23 echo "## BEGIN gutenbach configuration" >> /etc/lprng/lpd.perms 24 echo "ACCEPT SERVICE=R,P SERVER" >> /etc/lprng/lpd.perms 25 echo "ACCEPT C=CA* SERVICE=R,P" >> /etc/lprng/lpd.perms 26 echo "REJECT SERVICE=R,P" >> /etc/lprng/lpd.perms 27 echo "## END gutenbach configuration" >> /etc/lprng/lpd.perms 16 28 else 17 29 reject_service=$(echo "$line" | grep '^REJECT SERVICE=M' || true)
Note: See TracChangeset
for help on using the changeset viewer.