Skip to content

Instantly share code, notes, and snippets.

@logix2
Created January 14, 2019 15:42
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save logix2/4d877912dcde328daf629826b4fd4fc9 to your computer and use it in GitHub Desktop.
#!/bin/sh -e
set -e
APPLICATION="${0##*/}"
USAGE="$APPLICATION [options]
Wraps enter-chroot to start a Cinnamon session.
By default, it will log into the primary user on the first chroot found.
Options are directly passed to enter-chroot; run enter-chroot to list them."
exec sh -e "`dirname "\`readlink -f -- "$0"\`"`/enter-chroot" "$@" xinit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment