I am following this link https://ubuntuforums.org/showthread.php?t=234588for setting up my WOL settings.This is my scriptcat wakeonlanconfig ### BEGIN INIT INFO#!/bin/bashethtool -s enp3s0 wol gexit### END INIT INFOBut I got thisupdate-rc.d -f wakeonlanconfig defaultsinsserv: Script wakeonlanconfig is broken: incomplete LSB comment.insserv: missing `Provides:' entry: please add.insserv: missing `Required-Start:' entry: please add even if empty.insserv: missing `Required-Stop:'  entry: please add even if empty.insserv: missing `Default-Start:'  entry: please add even if empty.insserv: missing `Default-Stop:'   entry: please add even if empty.insserv: Script wakeonlanconfig is broken: incomplete LSB comment.insserv: missing `Provides:' entry: please add.insserv: missing `Required-Start:' entry: please add even if empty.insserv: missing `Required-Stop:'  entry: please add even if empty.insserv: missing `Default-Start:'  entry: please add even if empty.insserv: missing `Default-Stop:'   entry: please add even if empty.insserv: Script wakeonlanconfig is broken: incomplete LSB comment.insserv: missing `Provides:' entry: please add.Why?
insserv: Script is broken
networking
For information about init.d skeleton please check this Q/A in Ubuntu SE siteYou need to implement such header in your init script:#!/bin/sh### BEGIN INIT INFO# Provides:          # Required-Start:    $remote_fs# Required-Stop:     $remote_fs# Default-Start:     2 3 4 5# Default-Stop:      0 1 6# Short-Description: Sample_GT02 daemon startup script# Description:       Sample Server for GT02 class ### END INIT INFO