This repository was archived by the owner on Jul 24, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 14 files changed +69
-38
lines changed
init-config-end/dependencies.d Expand file tree Collapse file tree 14 files changed +69
-38
lines changed Original file line number Diff line number Diff line change 1414 echo "**** install packages ****" && \
1515 apt-get update && \
1616 apt-get install --no-install-recommends -y \
17- bash \
18- curl \
1917 gnupg \
2018 jsvc \
2119 libcap2 \
Original file line number Diff line number Diff line change @@ -239,6 +239,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
239239
240240## Versions
241241
242+ * ** 01.03.23:** - Migrate to s6v3
242243* ** 12.01.22:** - Switch to MongoDB 4.4
243244* ** 29.09.21:** - Documentation updates
244245* ** 13.08.21:** - Initial Release
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ ───────────────────────────────────────
2+
3+ ██╗ ███████╗██╗ ██████╗
4+ ██║ ██╔════╝██║██╔═══██╗
5+ ██║ ███████╗██║██║ ██║
6+ ██║ ╚════██║██║██║ ██║
7+ ███████╗███████║██║╚██████╔╝
8+ ╚══════╝╚══════╝╚═╝ ╚═════╝
9+
10+ █ █▀▀▄ █▀▀▄ █▀▀
11+ █ █▄▄█ █▀▀▄ ▀▀▄
12+ ▀▀▀ ▀ ▀ ▀▀▀▀ ▀▀▀
13+
14+ Brought to you by linuxserver.io
15+ ───────────────────────────────────────
Original file line number Diff line number Diff line change 1+ #!/usr/bin/with-contenv bash
2+ # shellcheck shell=bash
3+
4+ #Symlinks
5+ symlinks=( \
6+ /app/omada/data \
7+ /app/omada/properties \
8+ )
9+
10+ shopt -s globstar dotglob
11+
12+ for i in "${symlinks[@]}"; do
13+ if [[ -d /config/"$(basename "$i")" && ! -L "$i" ]]; then
14+ rm -rf "$i"
15+ fi
16+ if [[ ! -d /config/"$(basename "$i")" && ! -L "$i" ]]; then
17+ mv "$i" /config/
18+ fi
19+ if [[ -d /config/"$(basename "$i")" && ! -L "$i" ]]; then
20+ ln -s /config/"$(basename "$i")" "$i"
21+ fi
22+ done
23+
24+ symlinks=( \
25+ /app/omada/logs \
26+ /app/omada/work \
27+ )
28+
29+ for i in "${symlinks[@]}"; do
30+ if [[ -d /config/"$(basename "$i")" && ! -L "$i" ]]; then
31+ rm -rf "$i"
32+ fi
33+ if [[ ! -d /config/"$(basename "$i")" && ! -L "$i" ]]; then
34+ mkdir -p /config/"$(basename "$i")"
35+ fi
36+ if [[ -d /config/"$(basename "$i")" && ! -L "$i" ]]; then
37+ ln -s /config/"$(basename "$i")" "$i"
38+ fi
39+ done
40+
41+ shopt -u globstar dotglob
42+
43+ mkdir -p /app/omada/data/autobackup
44+
45+ #Permissions
46+ lsiown -R abc:abc \
47+ /config \
48+ /app
Original file line number Diff line number Diff line change 1+ oneshot
Original file line number Diff line number Diff line change 1+ /etc/s6-overlay/s6-rc.d/init-omada-config/run
You can’t perform that action at this time.
0 commit comments