diff options
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" +} |