REDROOM
PHP 8.5.2
Path:
Logout
Edit File
Size: 609 B
Close
//usr/lib/cloud-init/hook-hotplug
Text
Base64
#!/bin/sh # This file is part of cloud-init. See LICENSE file for license information. # This script checks if cloud-init has hotplug hooked and if # cloud-init has finished; if so invoke cloud-init hotplug-hook is_finished() { [ -e /run/cloud-init/result.json ] } if is_finished; then # open cloud-init's hotplug-hook fifo rw exec 3<>/run/cloud-init/hook-hotplug-cmd env_params=" \ --subsystem=${SUBSYSTEM} \ handle \ --devpath=${DEVPATH} \ --udevaction=${ACTION} \ " # write params to cloud-init's hotplug-hook fifo echo "${env_params}" >&3 fi
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 4
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
ds-identify
60.82 KB
lrwxr-xr-x
2024-03-27 13:14:04
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
hook-hotplug
609 B
lrwxr-xr-x
2024-03-27 13:14:04
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
uncloud-init
4.00 KB
lrwxr-xr-x
2024-03-27 13:14:04
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
write-ssh-key-fingerprints
1.92 KB
lrwxr-xr-x
2024-03-27 13:14:04
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).