Convert scripts to posix sh
This commit is contained in:
parent
688ee538ae
commit
7aa6142adb
2 changed files with 13 additions and 13 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue