Debian Codegraph @

examples/state-scripts/dbus-notification/ArtifactReboot_Enter_00

raw symbols SCIP
1 #!/bin/shscip-shell filesystem . . `/bin/sh`.
2
3 logscip-shell shell shell-project 0.0.0 log().() {
4 echoscip-shell system . . echo. "mender:$*" >&2
5 }
6
7 logscip-shell shell shell-project 0.0.0 log(). "$(catscip-shell system . . cat. /etc/mender/artifact_infoscip-shell filesystem . . `/etc/mender/artifact_info`.): $(basenamescip-shell system . . basename. "$0") was called!"
8
9 RC=0
10 UPD=`dbus-send --system \
11 --dest=org.mender.updater \
12 --print-reply \
13 --type=method_call \
14 / \
15 local.ServiceQtUpdater.CMenderQtUpdater.enableReboot | \
16 grep "byte" | \
17 awk '{print $2}'`
18
19 RC=$UPD
20
21 logscip-shell shell shell-project 0.0.0 log(). "Returning $RC from $0 state script"
22 exit $RC