debianmacno-cupsweb
Last change
on this file since 0b5842c was
0b5842c,
checked in by Jessica B. Hamrick <jhamrick@…>, 15 years ago
|
Initial commit. The scripts should work, but they have some bugs.
|
-
Property mode set to
100755
|
File size:
520 bytes
|
Rev | Line | |
---|
[0b5842c] | 1 | #!/bin/bash |
---|
| 2 | |
---|
| 3 | if [ -e /var/run/sipbmp3/current_queue_temp ]; then |
---|
| 4 | rm /var/run/sipbmp3/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/sipbmp3/current_queue_temp |
---|
| 10 | echo "" |
---|
| 11 | echo "As of $time:" >> /var/run/sipbmp3/current_queue_temp |
---|
| 12 | /usr/lib/sipbmp3/queue >> /var/run/sipbmp3/current_queue_temp |
---|
| 13 | mv /var/run/sipbmp3/current_queue_temp /var/run/sipbmp3/current_queue |
---|
| 14 | chmod ugoa+r /var/run/sipbmp3/current_queue |
---|
| 15 | done |
---|
Note: See
TracBrowser
for help on using the repository browser.