From faa80d09f9c00e4a67bc3cacf2eab5a1631ec3f9 Mon Sep 17 00:00:00 2001 From: MonkWho <31880166+MonkWho@users.noreply.github.com> Date: Wed, 6 May 2020 04:08:31 -0700 Subject: [PATCH] Updating missing supplicant files --- bin/{pfatt-5268AC => pfatt-5268AC.rc} | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) rename bin/{pfatt-5268AC => pfatt-5268AC.rc} (82%) diff --git a/bin/pfatt-5268AC b/bin/pfatt-5268AC.rc similarity index 82% rename from bin/pfatt-5268AC rename to bin/pfatt-5268AC.rc index 583f7cb..258deb7 100644 --- a/bin/pfatt-5268AC +++ b/bin/pfatt-5268AC.rc @@ -1,6 +1,6 @@ #!/bin/sh -script_path="/root/bin/pfatt-5268AC.sh" +script_path="/cf/conf/pfatt/bin/pfatt-5268AC.sh" name=`/usr/bin/basename "${script_path}"` @@ -10,14 +10,14 @@ rc_start() { ${script_path} & pid=$! - + if [ $pid ]; then echo $pid > /var/run/${name}.pid - /usr/bin/logger -p daemon.info -i -t pfattStartup "Successfully started ${name}" + /usr/bin/logger -p daemon.info -i -t pfatt-5268AC "successfully started ${name}" else - /usr/bin/logger -p daemon.error -i -t pfattStartup "Error starting ${name}" + /usr/bin/logger -p daemon.error -i -t pfatt-5268AC "error starting ${name}" fi - + ### Remove the lock if [ -f /var/run/${name}.lck ]; then /bin/sleep 2