OXIESEC PANEL
- Current Dir:
/
/
snap
/
core
/
17200
/
lib
/
udev
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
06/06/2024 02:31:58 PM
rwxr-xr-x
📄
ata_id
38.42 KB
03/03/2023 04:27:56 AM
rwxr-xr-x
📄
bridge-network-interface
1.05 KB
08/20/2015 04:51:09 PM
rwxr-xr-x
📄
cdrom_id
50.42 KB
03/03/2023 04:27:56 AM
rwxr-xr-x
📄
collect
22.34 KB
03/03/2023 04:27:56 AM
rwxr-xr-x
📄
console-setup-tty
4.52 KB
04/19/2016 07:21:42 PM
rwxr-xr-x
📄
hotplug.functions
1.15 KB
04/02/2021 02:39:40 AM
rw-r--r--
📄
hwclock-set
776 bytes
06/14/2022 09:28:42 PM
rwxr-xr-x
📄
hwdb.bin
6.52 MB
02/18/2024 07:56:21 PM
r--r--r--
📁
hwdb.d
-
02/18/2024 07:58:21 PM
rwxr-xr-x
📄
ifupdown-hotplug
3.07 KB
11/30/2016 05:15:30 PM
rwxr-xr-x
📄
mtd_probe
10.25 KB
03/03/2023 04:27:56 AM
rwxr-xr-x
📁
rules.d
-
06/06/2024 02:31:58 PM
rwxr-xr-x
📄
scsi_id
50.95 KB
03/03/2023 04:27:56 AM
rwxr-xr-x
📄
snappy-app-dev
38.52 KB
06/06/2024 02:32:03 PM
rwxr-xr-x
📄
v4l_id
14.34 KB
03/03/2023 04:27:56 AM
rwxr-xr-x
Editing: hotplug.functions
Close
# Setup and shell utility functions for use in hotplug agents. # vim: syntax=sh # # This program is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by the # Free Software Foundation version 2 of the License. if [ "$UDEV_LOG" ] && [ "$UDEV_LOG" -ge 7 ]; then DEBUG=yes fi PATH='/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin' [ -e /etc/default/hotplug ] && . /etc/default/hotplug if [ -x /usr/bin/logger ]; then LOGGER=/usr/bin/logger elif [ -x /bin/logger ]; then LOGGER=/bin/logger else unset LOGGER fi # for diagnostics if [ -t 1 -a -z "$LOGGER" ] || [ ! -e '/dev/log' ]; then mesg() { echo "$@" >&2 } elif [ -t 1 ]; then mesg() { echo "$@" $LOGGER -t "${0##*/}[$$]" "$@" } else mesg() { $LOGGER -t "${0##*/}[$$]" "$@" } fi debug_mesg() { [ -z "$DEBUG" -o "$DEBUG" = no ] && return 0 mesg "$@" } wait_for_file() { local file=$1 local timeout=$2 [ "$timeout" ] || timeout=120 local count=$timeout while [ $count != 0 ]; do [ -e "$file" ] && return 0 sleep 1 count=$(($count - 1)) done mesg "$file did not appear before the timeout!" exit 1 }