source: gutenbach-queue/build-gutenbach-queue @ 0b5842c

debianmacno-cupsweb
Last change on this file since 0b5842c was 0b5842c, checked in by Jessica B. Hamrick <jhamrick@…>, 14 years ago

Initial commit. The scripts should work, but they have some bugs.

  • Property mode set to 100755
File size: 520 bytes
Line 
1#!/bin/bash
2
3if [ -e /var/run/sipbmp3/current_queue_temp ]; then
4    rm /var/run/sipbmp3/current_queue_temp
5fi
6
7while 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
15done
Note: See TracBrowser for help on using the repository browser.