mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 13:44:06 -08:00
8 lines
240 B
Bash
Executable file
8 lines
240 B
Bash
Executable file
# ensure running as root
|
|
if [ "$(id -u)" != "0" ]; then
|
|
exec sudo "$0" "$@"
|
|
fi
|
|
wget https://raw.githubusercontent.com/snipe/snipe-it/master/snipeit.sh
|
|
chmod 744 snipeit.sh
|
|
sudo ./snipeit.sh 2>&1 | sudo tee -a /var/log/snipeit-install.log
|