sudo touch /etc/rc.d/rc.local
sudo nano /etc/rc.d/rc.local
#!/bin/bash
sh /mycmd/getipv6.sh
chmod +x /etc/rc.d/rc.local
sudo nano /usr/lib/systemd/system/rc-local.service
[Install]
WantedBy=multi-user.target
sudo systemctl enable rc-local.service
Last modification:August 25th, 2019 at 07:35 pm
If you think my article is useful to you, please feel free to appreciate