This repository was archived by the owner on Jan 7, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +4
-24
lines changed
root-armhf/etc/cont-init.d Expand file tree Collapse file tree 5 files changed +4
-24
lines changed Original file line number Diff line number Diff line change @@ -8,8 +8,4 @@ LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DA
8
8
LABEL maintainer="aptalca"
9
9
10
10
# add local files
11
- COPY root/ /
12
-
13
- # Volumes and Ports
14
- WORKDIR /usr/lib/unifi
15
-
11
+ COPY root-armhf/ /
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/with-contenv bash
2
+ # shellcheck shell=bash
2
3
3
- if [[ "$(uname -m)" == "armv7l" ]]; then
4
4
cat <<-EOF
5
5
********************************************************
6
6
********************************************************
7
7
* *
8
8
* !!!! *
9
- * This Unifi -Controller image does not support *
10
- * 32 bit ARM due to lack of available OS packages *
9
+ * This Unif -Controller image does not support *
10
+ * 32 bit ARM due to a lack of OS packages *
11
11
* *
12
12
* *
13
13
********************************************************
14
14
********************************************************
15
15
EOF
16
- fi
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/with-contenv bash
2
2
3
- if [[ "$(uname -m)" == "armv7l" ]]; then
4
- # We don't support armhf any more
5
- exit 0
6
- fi
7
-
8
3
if [[ ! -d /usr/lib/unifi/bin ]]; then
9
4
echo "*** installing unifi packages ***"
10
5
export DEBIAN_FRONTEND=noninteractive
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/with-contenv bash
2
2
3
- if [[ "$(uname -m)" == "armv7l" ]]; then
4
- # We don't support armhf any more
5
- exit 0
6
- fi
7
-
8
3
# create our folders
9
4
mkdir -p \
10
5
/config/{data,logs,run}
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/with-contenv bash
2
2
3
- if [[ "$(uname -m)" == "armv7l" ]]; then
4
- # We don't support armhf any more
5
- exit 0
6
- fi
7
-
8
3
# generate key
9
4
[[ ! -f /config/data/keystore ]] && \
10
5
keytool -genkey -keyalg RSA -alias unifi -keystore /config/data/keystore \
You can’t perform that action at this time.
0 commit comments