rc status added and init scripts fixed

This commit is contained in:
wt committed 2024-07-09 13:43:01 +07:00
1 parent 9990e60387
commit 2e1b587226
8 files changed
+54 -4

No files matched your search

+2
View File
@@ -7,9 +7,11 @@ case "$1" in
notify "Starting hostapd "
if [[ "$2" == "" ]]; then
/usr/bin/hostapd -P /var/run/hostapd.pid /etc/hostapd/hostapd
# echo $! > /var/run/hostapd.pid
check $?
else
/usr/bin/hostapd -P /var/run/hostapd.pid $2
# echo $! > /var/run/hostapd.pid
check $?
fi
;;