aboutsummaryrefslogtreecommitdiff
path: root/examples/E50-initscripts-2.86.ds1-7.workaround.sh
blob: c1bca7a89f190112dbab73b38b4076f5d0f8aa64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh
# example file to be used with --hookdir
#
# work around initscripts postinst which mounts /sys etc.
# Bug: #344089

set +e

umount /sys
umount /run
umount /proc/bus/usb
umount /dev/shm

# inetd seems to be dually started after upgrade, kill it.
# Bug: #262627
kill -9 $(cat /var/run/inetd.pid)

exit 0