diff options
| author | Josh Rahm <joshuarahm@gmail.com> | 2023-02-17 13:41:43 -0700 |
|---|---|---|
| committer | Josh Rahm <joshuarahm@gmail.com> | 2023-02-17 13:41:43 -0700 |
| commit | 385c36b4870baf028fe3902e289fc412b454f9cd (patch) | |
| tree | a6c755c42cea770b700ba22343893bbe32971422 /module-setup.sh | |
| download | acquire-key-over-ssh-385c36b4870baf028fe3902e289fc412b454f9cd.tar.gz acquire-key-over-ssh-385c36b4870baf028fe3902e289fc412b454f9cd.tar.bz2 acquire-key-over-ssh-385c36b4870baf028fe3902e289fc412b454f9cd.zip | |
initial commit
Diffstat (limited to 'module-setup.sh')
| -rwxr-xr-x | module-setup.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/module-setup.sh b/module-setup.sh new file mode 100755 index 0000000..c4ad051 --- /dev/null +++ b/module-setup.sh @@ -0,0 +1,19 @@ +#!/bin/bash +# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*- +# ex: ts=8 sw=4 sts=4 et filetype=sh + +check() { + return 255 +} + +depends() { + echo 'ssh-client busybox' +} + +install() { + inst_hook pre-udev 99 "$moddir/start-ssh-acquire.sh" + inst_script "$moddir/poll-ssh-acquire.sh" "/bin/poll-ssh-acquire.sh" + inst_simple "/root/.ssh/known_hosts" + inst_simple "/root/.ssh/id_rsa.pub" + inst_simple "/root/.ssh/id_rsa" +} |