rc status added and init scripts fixed
This commit is contained in:
1 parent
9990e60387
commit
2e1b587226
8 files changed
+54
-4
No files matched your search
@@ -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
|
||||
;;
|
||||
|
||||
Reference in new issue
Block a user