mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2026-03-13 20:40:08 +01:00
allways overwrite rpcd config
This commit is contained in:
parent
47a918ff4d
commit
0a221ad2a2
1 changed files with 3 additions and 1 deletions
|
|
@ -484,7 +484,7 @@ config menu
|
|||
EOF
|
||||
|
||||
# install the default menus if they are not already in the config
|
||||
uci -q get rpcd.@login[0] || cat >> /etc/config/rpcd << EOF
|
||||
touch /etc/config/rpcd && cat > /etc/config/rpcd << EOF
|
||||
config login
|
||||
option username 'admin'
|
||||
option password '\$p\$admin'
|
||||
|
|
@ -610,3 +610,5 @@ config login
|
|||
list write 'juci-usb'
|
||||
list write 'core'
|
||||
EOF
|
||||
|
||||
/etc/init.d/rpcd restart
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue