|
Lines 767-778
SET password = '$staffdigest'
Link Here
|
| 767 |
WHERE borrowernumber = $ADMINUSER; |
767 |
WHERE borrowernumber = $ADMINUSER; |
| 768 |
eof |
768 |
eof |
| 769 |
|
769 |
|
| 770 |
cat > "/etc/koha/sites/$name/createoptions" << eof |
|
|
| 771 |
# do not edit this file, it is for record keeping purposes only |
| 772 |
REQUEST_DB=0 |
| 773 |
eof |
| 774 |
|
| 775 |
|
| 776 |
#` |
770 |
#` |
| 777 |
echo "staff user password is '$staffpass' but keep that secret" |
771 |
echo "staff user password is '$staffpass' but keep that secret" |
| 778 |
|
772 |
|
|
Lines 782-787
eof
Link Here
|
| 782 |
else |
776 |
else |
| 783 |
echo "Koha instance is empty, no staff user created." |
777 |
echo "Koha instance is empty, no staff user created." |
| 784 |
fi |
778 |
fi |
|
|
779 |
|
| 780 |
if [ "$op" = create ] |
| 781 |
then |
| 782 |
|
| 783 |
cat > "/etc/koha/sites/$name/createoptions" << eof |
| 784 |
# do not edit this file, it is for record keeping purposes only |
| 785 |
REQUEST_DB=0 |
| 786 |
eof |
| 787 |
|
| 788 |
fi |
| 789 |
|
| 785 |
fi |
790 |
fi |
| 786 |
|
791 |
|
| 787 |
|
792 |
|
| 788 |
- |
|
|