1 2 3 4 5 6 7 8
#!/bin/sh set -e if grep -qs 'bind=.*/dev:/dev;' "/etc/open-infrastructure/container/config/${NAME}.conf" then unlink /dev/console > /dev/null 2>&1 || true fi