You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
279 B
12 lines
279 B
#!/bin/bash
|
|
|
|
NTFILE=/srv/vault/new_task.var
|
|
HUPGRADE=/srv/samba/upgrade.tar.bz2
|
|
if [ -f "$NTFILE" ]; then
|
|
cd /srv/vault
|
|
/usr/bin/php /srv/vault/lib/process_task.php
|
|
else
|
|
if [ -f "$HUPGRADE" ]; then
|
|
/usr/bin/php /srv/vault/lib/cli_upgrade.php $HUPGRADE /srv
|
|
fi
|
|
fi
|