Hi all,
Problem solved!
Please refers to following article;
How to Enable /etc/rc.local with Systemd
https://www.linuxbabe.com/linux-serv...l-with-systemd
Re: The Solution
My /etc/rc.local
Code:
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
ifconfig enp0s3 up
dhclient enp0s3 -v
exit 0
On booting rc.local will be executed
Regards
satimis
Bookmarks