fix typo in snap
Signed-off-by: Michel-FK <michel.stempin@funkey-project.com>
This commit is contained in:
parent
50d8df9895
commit
83519eeedb
|
@ -24,7 +24,7 @@ mkdir -p "${SNAPSHOT_DIR}"
|
||||||
last=$(cd ${SNAPSHOT_DIR}; ls IMG_*.${SNAPSHOT_EXT} 2> /dev/null | tail -1 | sed 's/^IMG_0*\([0-9]\+\)\.'${SNAPSHOT_EXT}'$/\1/')
|
last=$(cd ${SNAPSHOT_DIR}; ls IMG_*.${SNAPSHOT_EXT} 2> /dev/null | tail -1 | sed 's/^IMG_0*\([0-9]\+\)\.'${SNAPSHOT_EXT}'$/\1/')
|
||||||
let last=${last}+1
|
let last=${last}+1
|
||||||
snapshot_file=$(printf "IMG_%04d.${SNAPSHOT_EXT}" $last)
|
snapshot_file=$(printf "IMG_%04d.${SNAPSHOT_EXT}" $last)
|
||||||
notif_set 2 " SCREEENSHOT ${snapshot_file}"
|
notif_set 2 " SCREENSHOT ${snapshot_file}"
|
||||||
fbgrab "${SNAPSHOT_DIR}/${snapshot_file}" >/dev/null 2>&1 &
|
fbgrab "${SNAPSHOT_DIR}/${snapshot_file}" >/dev/null 2>&1 &
|
||||||
|
|
||||||
# Remove lock file
|
# Remove lock file
|
||||||
|
|
|
@ -24,7 +24,7 @@ mkdir -p "${SNAPSHOT_DIR}"
|
||||||
last=$(cd ${SNAPSHOT_DIR}; ls IMG_*.${SNAPSHOT_EXT} 2> /dev/null | tail -1 | sed 's/^IMG_0*\([0-9]\+\)\.'${SNAPSHOT_EXT}'$/\1/')
|
last=$(cd ${SNAPSHOT_DIR}; ls IMG_*.${SNAPSHOT_EXT} 2> /dev/null | tail -1 | sed 's/^IMG_0*\([0-9]\+\)\.'${SNAPSHOT_EXT}'$/\1/')
|
||||||
let last=${last}+1
|
let last=${last}+1
|
||||||
snapshot_file=$(printf "IMG_%04d.${SNAPSHOT_EXT}" $last)
|
snapshot_file=$(printf "IMG_%04d.${SNAPSHOT_EXT}" $last)
|
||||||
notif_set 2 " SCREEENSHOT ${snapshot_file}"
|
notif_set 2 " SCREENSHOT ${snapshot_file}"
|
||||||
fbgrab "${SNAPSHOT_DIR}/${snapshot_file}" >/dev/null 2>&1 &
|
fbgrab "${SNAPSHOT_DIR}/${snapshot_file}" >/dev/null 2>&1 &
|
||||||
|
|
||||||
# Remove lock file
|
# Remove lock file
|
||||||
|
|
Loading…
Reference in New Issue