Convert scripts to posix sh

This commit is contained in:
Marko Korhonen 2024-05-09 11:02:17 +03:00
parent 688ee538ae
commit 7aa6142adb
Signed by: FunctionalHacker
GPG key ID: A7F78BCB859CD890
2 changed files with 13 additions and 13 deletions

View file

@ -1,4 +1,4 @@
#!/usr/bin/ash
#!/bin/sh
run_hook ()
{
@ -14,6 +14,6 @@ run_cleanuphook ()
umount /dev/pts
rm -R /dev/pts
if [ -f /var/run/dropbear.pid ]; then
kill `cat /var/run/dropbear.pid`
kill "$(cat /var/run/dropbear.pid)"
fi
}