summaryrefslogtreecommitdiffstats
path: root/debian/screen.bug-script
blob: d32db27199a454a85fb903f39a17468650ae5c2e (plain)
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