Browse Source

added raspberry installation hint (#2379)

Signed-off-by: Jordi Prats <jordi.prats@gmail.com>
pull/3968/head
Jordi Prats 3 years ago committed by GitHub
parent
commit
74196acaea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      install.sh

5
install.sh

@ -848,6 +848,11 @@ openrc_start() {
# --- startup systemd or openrc service ---
service_enable_and_start() {
if [ -f "/proc/cgroups" ] && [ "$(grep memory /proc/cgroups | while read -r n n n enabled; do echo $enabled; done)" -eq 0 ];
then
info 'Failed to find memory cgroup, you may need to add "cgroup_memory=1 cgroup_enable=memory" to your linux cmdline (/boot/cmdline.txt on a Raspberry Pi)'
fi
[ "${INSTALL_K3S_SKIP_ENABLE}" = true ] && return
[ "${HAS_SYSTEMD}" = true ] && systemd_enable

Loading…
Cancel
Save