mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-12-02 20:59:56 -05:00
Creating script which runs on first startup only. This is used to copy /etc/skel files to first user's home directory.
This commit is contained in:
parent
e18b1b0552
commit
336ef1abb4
3 changed files with 33 additions and 2 deletions
12
etc/raspberrypios/wrolpi-first-startup.service
Normal file
12
etc/raspberrypios/wrolpi-first-startup.service
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
[Unit]
|
||||
Description=Run script at first startup
|
||||
After=multi-user.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/opt/wrolpi/wrolpi/scripts/first_startup.sh
|
||||
RemainAfterExit=true
|
||||
StandardOutput=journal
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Loading…
Add table
Add a link
Reference in a new issue