Your IP : 216.73.216.14


Current Path : /snap/lxd/38450/commands/
Upload File :
Current File : //snap/lxd/38450/commands/lxd-check-kernel

#!/bin/sh
set -eu

# Re-exec outside of apparmor confinement
if [ -d /sys/kernel/security/apparmor ]; then
  label="$(cat /proc/self/attr/current 2>/dev/null)"
  if [ "$label" != "unconfined" ] && [ -n "${label##*(unconfined)}" ]; then
    exec aa-exec -p unconfined -- "$0" "$@"
  fi
fi

exec lxc-checkconfig