1
0
mirror of https://github.com/MonkWho/pfatt.git synced 2024-11-21 18:05:14 +01:00

Updating missing supplicant files

This commit is contained in:
MonkWho 2020-05-06 04:08:31 -07:00 committed by GitHub
parent 4fe449c390
commit faa80d09f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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