Add following script
[Unit]
Description=My script
[Service]
ExecStart=/usr/bin/ln -sv /home/happy/data /data/
[Install]
WantedBy=sysinit.target.wants
Reference:
1. Arch Linux run script a minute after boot
2. How can I make a script start during the boot process?
0 意見:
張貼留言