1
0
mirror of https://github.com/Yubico/yubikey-ksm.git synced 2024-11-29 00:24:14 +01:00

change quotes on insert and add all columns

This commit is contained in:
Klas Lindfors 2013-11-06 15:58:06 +01:00
parent 2228f8ea4c
commit a9b768be8d

View File

@ -42,7 +42,7 @@ cat > config-db.php << EOF
EOF EOF
sudo mv config-db.php /etc/yubico/ksm/ sudo mv config-db.php /etc/yubico/ksm/
$dbrun 'insert into yubikeys (publicname,internalname,aeskey) values("idkfefrdhtru","609963eae7b5","c68c9df8cbfe7d2f994cb904046c7218");' $dbrun "insert into yubikeys (publicname,internalname,aeskey,serialnr,created,lockcode,creator) values('idkfefrdhtru','609963eae7b5','c68c9df8cbfe7d2f994cb904046c7218',0,0,'','');"
sudo /etc/init.d/apache2 restart sudo /etc/init.d/apache2 restart