aboutsummaryrefslogtreecommitdiff
path: root/examples/E50-initscripts-2.86.ds1-7.workaround.sh
blob: 195ecf3d5ef1666c90f61431ebd8f6f9bb8e15de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh
# 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