Installer/Updater
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.

11 lines
279 B

​
​
​
​
​
​
​
​
​
​
​
  1. #!/bin/bash
  2. NTFILE=/srv/vault/new_task.var
  3. HUPGRADE=/srv/samba/upgrade.tar.bz2
  4. if [ -f "$NTFILE" ]; then
  5. cd /srv/vault
  6. /usr/bin/php /srv/vault/lib/process_task.php
  7. else
  8. if [ -f "$HUPGRADE" ]; then
  9. /usr/bin/php /srv/vault/lib/cli_upgrade.php $HUPGRADE /srv
  10. fi
  11. fi