Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Another systemd workaround for WSL |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
91ff28ae9d7df587d424b9f4293680a2 |
User & Date: | tangent 2019-05-11 21:49:26.766 |
Context
2019-05-15
| ||
18:29 | Clarity tweak to the --enable-savestate doc check-in: 8a91c99445 user: tangent tags: trunk | |
2019-05-11
| ||
21:49 | Another systemd workaround for WSL check-in: 91ff28ae9d user: tangent tags: trunk | |
20:19 | Fixes to bin/pidp8i for systems that either have no systemd or where (as on WSL) it's broken. In these cases, the script approximates a SysV init script. check-in: 279555ae38 user: tangent tags: trunk | |
Changes
Changes to bin/pidp8i.in.
︙ | ︙ | |||
30 31 32 33 34 35 36 | # authorization from those authors. ######################################################################## bootdir="@BOOTDIR@" prefix="@ABSPREFIX@" sim="$prefix/bin/pidp8i-sim" scanswitch="$prefix/libexec/scanswitch" | | | 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | # authorization from those authors. ######################################################################## bootdir="@BOOTDIR@" prefix="@ABSPREFIX@" sim="$prefix/bin/pidp8i-sim" scanswitch="$prefix/libexec/scanswitch" systemctl=$(uname -r | grep -qw Microsoft && echo /bin/nothing || echo /bin/systemctl) ggrep=$(which ggrep grep 2> /dev/null | head -1) is_running() { procs=`screen -list pidp8i | $ggrep -Pc '\d\.pidp8i'` test -n "$procs" && test $procs -gt 0 && return 0 || return 1 } |
︙ | ︙ |