Skip to content

Commit e718644

Browse files
committed
board/common: mksshkey: Clean up stray temporary file
1 parent f83fbc6 commit e718644

File tree

1 file changed

+1
-0
lines changed
  • board/common/rootfs/usr/libexec/infix

1 file changed

+1
-0
lines changed

board/common/rootfs/usr/libexec/infix/mksshkey

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ echo -e "$PUBLIC" >> "$TMP"
1818
echo -e "-----END RSA PUBLIC KEY-----" >> "$TMP"
1919

2020
ssh-keygen -i -m PKCS8 -f "$TMP" > "$DIR/$NAME.pub"
21+
rm "$TMP"
2122
chmod 0600 "$DIR/$NAME.pub"
2223
chmod 0600 "$DIR/$NAME"
2324
chown sshd:sshd "$DIR/$NAME.pub"

0 commit comments

Comments
 (0)