File: screen.bug-script

package info (click to toggle)
screen 4.8.0-6
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 5,208 kB
  • sloc: ansic: 40,067; sh: 1,779; makefile: 352; perl: 63
file content (28 lines) | stat: -rwxr-xr-x 684 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/bin/sh

exec 1>&3
exec 2>&3

echo File Existence and Permissions
echo ------------------------------
echo ''

ls -ldU \
   /run \
   /var/run \
   /usr/bin/screen \
   /etc/tmpfiles.d/screen-cleanup.conf \
   /lib/systemd/system/screen-cleanup.service \
   /etc/init.d/screen-cleanup \
   /etc/rc?.d/*screen-cleanup

echo ''
echo File contents
echo -------------
echo ''
if [ -e /etc/tmpfiles.d/screen-cleanup.conf ]; then
    echo '### /etc/tmpfiles.d/screen-cleanup.conf'
    echo ______________________________________________________________________
    cat /etc/tmpfiles.d/screen-cleanup.conf
    echo ______________________________________________________________________
fi