@Maxim #39 The basic idea seems good, but there are more reliable ways to detect a separate /var partition:
! mountpoint -q /var || sed -i 's|^start on starting mountall|start on mounted MOUNTPOINT=/var|' /etc/init/ureadahead.conf
@Maxim #39
The basic idea seems good, but there are more reliable ways to detect a separate /var partition:
! mountpoint -q /var || sed -i 's|^start on starting mountall|start on mounted MOUNTPOINT=/var|' /etc/init/ ureadahead. conf