summaryrefslogtreecommitdiffstats
path: root/satellit_installer/static_files/system-updates/usr/local/bin/slxlog
blob: 55110ae31c43785880487883ea8dae39c2e595d9 (plain) (blame)
1
2
3
4
5
6
#!/bin/sh

[ "x$(whoami)" != "xwww-data" ] && exec sudo -n -u www-data "$0" "$@"

php /srv/openslx/www/slx-admin/api.php "$@"