mirror of
https://github.com/linuxserver/docker-rdesktop.git
synced 2026-02-20 06:16:43 +08:00
Use s6v3 openbox copy
This commit is contained in:
parent
5b858ef19c
commit
35247b6960
3
root/etc/cont-init.d/56-openboxcopy → root/etc/s6-overlay/s6-rc.d/init-openboxcopy/run
Normal file → Executable file
3
root/etc/cont-init.d/56-openboxcopy → root/etc/s6-overlay/s6-rc.d/init-openboxcopy/run
Normal file → Executable file
@ -1,7 +1,8 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
# default file copies first run
|
||||
[[ ! -f /config/.config/openbox/menu.xml ]] && \
|
||||
if [[ ! -f /config/.config/openbox/menu.xml ]]; then
|
||||
mkdir -p /config/.config/openbox && \
|
||||
cp /defaults/menu.xml /config/.config/openbox/menu.xml && \
|
||||
chown -R abc:abc /config/.config
|
||||
fi
|
||||
1
root/etc/s6-overlay/s6-rc.d/init-openboxcopy/type
Normal file
1
root/etc/s6-overlay/s6-rc.d/init-openboxcopy/type
Normal file
@ -0,0 +1 @@
|
||||
oneshot
|
||||
1
root/etc/s6-overlay/s6-rc.d/init-openboxcopy/up
Normal file
1
root/etc/s6-overlay/s6-rc.d/init-openboxcopy/up
Normal file
@ -0,0 +1 @@
|
||||
/etc/s6-overlay/s6-rc.d/init-openboxcopy/run
|
||||
Loading…
x
Reference in New Issue
Block a user