|
Lines 687-698
SET password = '$staffdigest'
Link Here
|
| 687 |
WHERE borrowernumber = $ADMINUSER; |
687 |
WHERE borrowernumber = $ADMINUSER; |
| 688 |
eof |
688 |
eof |
| 689 |
|
689 |
|
| 690 |
cat > "/etc/koha/sites/$name/createoptions" << eof |
|
|
| 691 |
# do not edit this file, it is for record keeping purposes only |
| 692 |
REQUEST_DB=0 |
| 693 |
eof |
| 694 |
|
| 695 |
|
| 696 |
#` |
690 |
#` |
| 697 |
echo "staff user password is '$staffpass' but keep that secret" |
691 |
echo "staff user password is '$staffpass' but keep that secret" |
| 698 |
|
692 |
|
|
Lines 702-707
eof
Link Here
|
| 702 |
else |
696 |
else |
| 703 |
echo "Koha instance is empty, no staff user created." |
697 |
echo "Koha instance is empty, no staff user created." |
| 704 |
fi |
698 |
fi |
|
|
699 |
|
| 700 |
if [ "$op" = create ] |
| 701 |
then |
| 702 |
|
| 703 |
cat > "/etc/koha/sites/$name/createoptions" << eof |
| 704 |
# do not edit this file, it is for record keeping purposes only |
| 705 |
REQUEST_DB=0 |
| 706 |
eof |
| 707 |
|
| 708 |
fi |
| 709 |
|
| 705 |
fi |
710 |
fi |
| 706 |
|
711 |
|
| 707 |
|
712 |
|
| 708 |
- |
|
|