[go: up one dir, main page]

File: zz-zipl

package info (click to toggle)
s390-tools 2.15.1-2
  • links: PTS
  • area: main
  • in suites: bullseye
  • size: 8,216 kB
  • sloc: ansic: 130,144; sh: 9,397; cpp: 8,359; perl: 2,517; makefile: 1,960; asm: 1,016
file content (22 lines) | stat: -rwxr-xr-x 430 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh

# Avoid executing multiple times.
if [ -n "$DEB_MAINT_PARAMS" ];then
    eval set -- "$DEB_MAINT_PARAMS"
    if [ -z "$1" ] || [ "$1" != "remove" ]
    then
        case "$1" in
            remove|configure)
                ;;
            *)
                exit 0
        esac
    fi
fi

if [ -f /etc/zipl.conf ]
then
    zipl </dev/null >&2
else
    echo "WARNING, not invoking zipl: /etc/zipl.conf not found" >&2
fi