mirror of
https://github.com/blazblue547-afk/ForgeOS-ARM64.git
synced 2026-12-02 14:44:17 -05:00
chore(rootfs): remove Doom Emacs layer
Add the ForgeOS home ownership repair unit to the normal rootfs assembly.
This commit is contained in:
1 parent
7e7ca149c7
commit
eb8038ef4c
10 files changed
+36
-334
No files matched your search
@@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=Repair ForgeOS user home ownership
|
||||
Documentation=man:systemd.service(5)
|
||||
After=local-fs.target
|
||||
Before=systemd-user-sessions.service getty.target forgeos-login@tty1.service forgeos-login@ttyS0.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/bin/sh -c 'if [ -d /home/forge ]; then chown -R 1000:1000 /home/forge && chmod 700 /home/forge; fi'
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in new issue
Block a user