From 83a1f52ca48e791e23d5ff0607f701bc5fefbd1f Mon Sep 17 00:00:00 2001 From: Bram Prieshof Date: Sat, 11 Dec 2021 22:17:22 +0100 Subject: [PATCH] Added lbu include for service file in AddPinger.sh --- AddPinger.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/AddPinger.sh b/AddPinger.sh index 622018a..ea75c68 100644 --- a/AddPinger.sh +++ b/AddPinger.sh @@ -38,6 +38,7 @@ read -p "Enter name of pinger to be added: " NewPingerName cp ./templates/"$NewPingerType"Ping.service.template /etc/init.d/$NewPingerType'Ping'$NewPingerName chmod +x /etc/init.d/$NewPingerType'Ping'$NewPingerName sed -i -e "/PingerName=/c\PingerName=$NewPingerName" /etc/init.d/$NewPingerType'Ping'$NewPingerName +lbu include /etc/init.d/$NewPingerType'Ping'$NewPingerName #Create config file cp ./templates/"$NewPingerType"Ping.cfg.template ./config/$NewPingerType'Ping_'$NewPingerName.cfg