mirror of
https://github.com/Llewellynvdm/Tomb.git
synced 2024-11-26 06:46:30 +00:00
Update exec-hooks name in linux manpage
This commit is contained in:
parent
e9fd1a19e1
commit
ac13adaa28
12
doc/tomb.1
12
doc/tomb.1
@ -225,7 +225,7 @@ commands, or text files retrieved from \fIengraved\fR QR codes. If the
|
|||||||
stdin (blocking).
|
stdin (blocking).
|
||||||
.B
|
.B
|
||||||
.IP "-n"
|
.IP "-n"
|
||||||
Skip processing of post-hooks and bind-hooks if found inside the tomb.
|
Skip processing of exec-hooks and bind-hooks if found inside the tomb.
|
||||||
See the \fIHOOKS\fR section in this manual for more information.
|
See the \fIHOOKS\fR section in this manual for more information.
|
||||||
.B
|
.B
|
||||||
.IP "-p"
|
.IP "-p"
|
||||||
@ -329,7 +329,7 @@ Switch to this TTY terminal when dropping privileges.
|
|||||||
|
|
||||||
Hooks are special files that can be placed inside the tomb and trigger
|
Hooks are special files that can be placed inside the tomb and trigger
|
||||||
actions when it is opened and closed; there are two kinds of such
|
actions when it is opened and closed; there are two kinds of such
|
||||||
files: \fIbind-hooks\fR and \fIpost-hooks\fR can be placed in the
|
files: \fIbind-hooks\fR and \fIexec-hooks\fR can be placed in the
|
||||||
base root of the tomb.
|
base root of the tomb.
|
||||||
|
|
||||||
.B
|
.B
|
||||||
@ -523,13 +523,13 @@ keeping all its profile data inside it:
|
|||||||
|
|
||||||
.EX
|
.EX
|
||||||
tomb open FOX.tomb -k FOX.tomb.key
|
tomb open FOX.tomb -k FOX.tomb.key
|
||||||
cat <<EOF > /media/FOX.tomb/post-hooks
|
cat <<EOF > /media/FOX.tomb/exec-hooks
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
if [ "$1" = "open" ]; then
|
if [ "$1" = "open" ]; then
|
||||||
firefox -no-remote -profile "$2"/firefox-pro &
|
firefox -no-remote -profile "$2"/firefox-pro &
|
||||||
fi
|
fi
|
||||||
EOF
|
EOF
|
||||||
chmod +x /media/FOX.tomb/post-hooks
|
chmod +x /media/FOX.tomb/exec-hooks
|
||||||
.EE
|
.EE
|
||||||
|
|
||||||
.IP \(bu
|
.IP \(bu
|
||||||
@ -540,7 +540,7 @@ Script a tomb to archive Pictures using Shotwell, launching it on open:
|
|||||||
cat <<EOF > /media/Pictures.tomb/bind-hooks
|
cat <<EOF > /media/Pictures.tomb/bind-hooks
|
||||||
Pictures Pictures
|
Pictures Pictures
|
||||||
EOF
|
EOF
|
||||||
cat <<EOF > /media/Pictures.tomb/post-hooks
|
cat <<EOF > /media/Pictures.tomb/exec-hooks
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
if [ "$1" = "open" ]; then
|
if [ "$1" = "open" ]; then
|
||||||
which shotwell > /dev/null
|
which shotwell > /dev/null
|
||||||
@ -549,7 +549,7 @@ if [ "$1" = "open" ]; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
EOF
|
EOF
|
||||||
chmod +x /media/Pictures.tomb/post-hooks
|
chmod +x /media/Pictures.tomb/exec-hooks
|
||||||
.EE
|
.EE
|
||||||
|
|
||||||
.SH BUGS
|
.SH BUGS
|
||||||
|
Loading…
Reference in New Issue
Block a user