blob: 7b93ac7d6dde18041da02980c2a0ba78ec023f99 (
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
|
post_install() {
if systemctl -q is-active runsunloginclient.service ;then
systemctl daemon-reload
systemctl restart runsunloginclient.service
fi
ECHOLEN=$(echo -e|awk '{print length($0)}')
if [ ${ECHOLEN} = '0' ]
then
ECHO='echo -e'
else
ECHO='echo'
fi
$ECHO "\033[36m*************************************************************************\033[0m"
$ECHO "\033[36m* sunlogin daemon service must be running for sunloginclient to work *\033[0m"
$ECHO "\033[36m* Type: systemctl start runsunloginclient.service *\033[0m"
$ECHO "\033[36m*************************************************************************\033[0m"
}
post_upgrade() {
post_install
}
# vim: ts=2 sw=2 et:
|