mirror of
https://github.com/wanderleihuttel/vchanger.git
synced 2025-04-19 08:55:14 +00:00
15 lines
541 B
Bash
15 lines
541 B
Bash
#!/bin/sh
|
|
#
|
|
# vchanger-launch-umount.sh ( vchanger v.1.0.3 ) 2020-05-06
|
|
#
|
|
# This script is used to run the vchanger-umount-uuid.sh script in
|
|
# another [background] process launched by the at command in order
|
|
# to prevent delays when invoked by a udev rule.
|
|
#
|
|
VCHANGER_UMOUNT=/usr/libexec/vchanger/vchanger-umount-uuid.sh
|
|
|
|
# For some reason, nohup doesn't work, but "at now" does. This may have to
|
|
# do with cgroups.
|
|
#nohup $VCHANGER_UMOUNT $1 </dev/null >/dev/null 2>&1 &
|
|
echo "$VCHANGER_UMOUNT $1 </dev/null >/dev/null 2>&1" | at now
|