preliminary work for SSL support in iPXE. untested and probably not currently functional.
This commit is contained in:
@@ -1,7 +0,0 @@
|
||||
<?php
|
||||
$password = readline("Password: ");
|
||||
$saltRaw = random_bytes(8);
|
||||
$salt = base64_encode($saltRaw);
|
||||
$result = crypt($password,'$6' . '$' . $salt .'$');
|
||||
print $result . "\n";
|
||||
?>
|
||||
@@ -4,7 +4,7 @@ Description=Restoring Installed Packages DB
|
||||
[Service]
|
||||
Type=oneshot
|
||||
#ExecStart=/usr/bin/tar -Jxf /usr/local/pacman.db.tar.xz -C /var/lib/pacman/
|
||||
ExecStart=/etc/systemd/system/scripts/pacmandb.sh
|
||||
ExecStart=/usr/bin/bash /etc/systemd/system/scripts/pacmandb.sh
|
||||
RemainAfterExit=yes
|
||||
|
||||
[Install]
|
||||
|
||||
Reference in New Issue
Block a user