debianmacno-cupsweb
Last change
on this file since 39452be was
39452be,
checked in by Jessica B. Hamrick <jhamrick@…>, 15 years ago
|
First commit of gutenbach-queue as an actual package. Not yet tested.
|
-
Property mode set to
100755
|
File size:
544 bytes
|
Line | |
---|
1 | #!/bin/bash |
---|
2 | |
---|
3 | if [ -e /var/run/gutenbach/current_queue_temp ]; then |
---|
4 | rm /var/run/gutenbach/current_queue_temp |
---|
5 | fi |
---|
6 | |
---|
7 | while true; do |
---|
8 | time=$(date) |
---|
9 | echo "This is a work in progress! Please send bugs to jhamrick." >> /var/run/gutenbach/current_queue_temp |
---|
10 | echo "" |
---|
11 | echo "As of $time:" >> /var/run/gutenbach/current_queue_temp |
---|
12 | /usr/lib/gutenbach/queue/queue >> /var/run/gutenbach/current_queue_temp |
---|
13 | mv /var/run/gutenbach/current_queue_temp /var/run/gutenbach/current_queue |
---|
14 | chmod ugoa+r /var/run/gutenbach/current_queue |
---|
15 | done |
---|
Note: See
TracBrowser
for help on using the repository browser.