| Server IP : 127.0.1.1 / Your IP : 216.73.216.83 Web Server : Apache/2.4.58 (Ubuntu) System : Linux nepub 6.8.0-88-generic #89-Ubuntu SMP PREEMPT_DYNAMIC Sat Oct 11 01:02:46 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.2.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /proc/189244/root/sbin/ |
Upload File : |
#!/bin/sh
SNAP_BIN="/snap/bin/$(basename "$0")"
if [ ! -f "${SNAP_BIN}" ]; then
if [ ! -w "/run/lxd-installer.socket" ]; then
echo "Unable to trigger the installation of the LXD snap." >&2
echo "Please make sure you're a member of the 'lxd' system group." >&2
exit 1
fi
echo "Installing LXD snap, please be patient."
python3 -c 'import socket; s=socket.socket(socket.AF_UNIX); s.connect("/run/lxd-installer.socket"); s.send(b"x"); s.recv(1)'
for _ in $(seq 90); do
sleep 1
[ -x "${SNAP_BIN}" ] && break
done
fi
exec "$SNAP_BIN" "$@"