workstation/console.sh

13 lines
247 B
Bash
Raw Normal View History

#!/bin/sh
. ./roles/home-cli/files/profile
if [ $(uname -s) = FreeBSD ]
then
2023-01-17 14:20:22 +00:00
INVENTORY=./inventories/freebsd.ini
elif [ $(uname -s) = OpenBSD ]
then
INVENTORY=./inventories/openbsd.ini
else
2023-01-17 14:20:22 +00:00
INVENTORY=./local.ini
fi
./user-cli.yml -i $INVENTORY