-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix for raspberrypi/documentation#1018
- Loading branch information
1 parent
c4742dc
commit c1e42a2
Showing
1 changed file
with
3 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
c1e42a2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wouldn't it be better if it's in a try-catch or if block? so you don't have to delete the
sudo systemctl restart hostapd.service;
c1e42a2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thank you for your comment...
what do you mean with
do i delete something with that command?
you mean i should check it hostapd is masked an disabled, and ony when it is i should to unmasking an enabling?
how can/should i check this?
PS.: in the script i add a comment to some configuration files. and only when that comment does not exist, i run those commands... so in normal case those commands will be run only one single time.
and i assume that the script will be run on a virgine clean raspbian installation so the very first time hostspd is masked and disabled on... isn't it.