workstation/desktop.sh

12 lines
247 B
Bash
Executable file

#!/bin/sh
. ./roles/home-cli/files/profile
if [ $(uname -s) = FreeBSD ]
then
INVENTORY=./inventories/freebsd.ini
elif [ $(uname -s) = OpenBSD ]
then
INVENTORY=./inventories/openbsd.ini
else
INVENTORY=./local.ini
fi
./user-gui.yml -i $INVENTORY