[go: up one dir, main page]

File: zz-zipl

package info (click to toggle)
s390-tools 1.16.0-2
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 4,332 kB
  • sloc: ansic: 46,620; sh: 8,560; cpp: 8,185; asm: 5,503; perl: 3,014; makefile: 886
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