Format scripts with shfmt
This commit is contained in:
parent
7aa6142adb
commit
3599220815
2 changed files with 66 additions and 70 deletions
|
@ -1,16 +1,14 @@
|
|||
#!/bin/sh
|
||||
|
||||
run_hook ()
|
||||
{
|
||||
[ -d /dev/pts ] || mkdir -p /dev/pts
|
||||
mount -t devpts devpts /dev/pts
|
||||
run_hook() {
|
||||
[ -d /dev/pts ] || mkdir -p /dev/pts
|
||||
mount -t devpts devpts /dev/pts
|
||||
|
||||
echo "Starting dropbear"
|
||||
/usr/sbin/dropbear -E -s -j -k
|
||||
echo "Starting dropbear"
|
||||
/usr/sbin/dropbear -E -s -j -k
|
||||
}
|
||||
|
||||
run_cleanuphook ()
|
||||
{
|
||||
run_cleanuphook() {
|
||||
umount /dev/pts
|
||||
rm -R /dev/pts
|
||||
if [ -f /var/run/dropbear.pid ]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue