Assign a name to mesh peers
This commit is contained in:
parent
95d20e1597
commit
183c1fb093
|
@ -550,6 +550,17 @@ function interactive_configuration {
|
|||
1) exit 1;;
|
||||
255) exit 1;;
|
||||
esac
|
||||
|
||||
data=$(tempfile 2>/dev/null)
|
||||
trap "rm -f $data" 0 1 2 5 15
|
||||
dialog --backtitle "Freedombone Configuration" \
|
||||
--inputbox "Give your mesh peer a name" 10 40 "$(grep 'DEFAULT_DOMAIN_NAME' temp.cfg | awk -F '=' '{print $2}')" 2> $data
|
||||
sel=$?
|
||||
case $sel in
|
||||
0) ESSID=$(cat $data);;
|
||||
1) exit 1;;
|
||||
255) exit 1;;
|
||||
esac
|
||||
fi
|
||||
|
||||
if [[ $ENABLE_BATMAN == "yes" ]]; then
|
||||
|
|
Loading…
Reference in New Issue