Having one monolithic packages directory makes it hard to find things and is generally overwhelming. This commit splits it into several logical sections roughly based on function, recipes.txt gives more information about the classifications used. The opportunity is also used to switch from "packages" to "recipes" as used in OpenEmbedded as the term "packages" can be confusing to people and has many different meanings. Not all recipes have been classified yet, this is just a first pass at separating things out. Some packages are moved to meta-extras as they're no longer actively used or maintained. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
33 lines
676 B
Bash
Executable file
33 lines
676 B
Bash
Executable file
### BEGIN INIT INFO
|
|
# Provides: umountnfs
|
|
# Required-Start:
|
|
# Required-Stop: umountfs
|
|
# Should-Stop: $network $portmap
|
|
# Default-Start:
|
|
# Default-Stop: 0 6
|
|
# Short-Description: Unmount all network filesystems
|
|
### END INIT INFO
|
|
|
|
PATH=/sbin:/bin:/usr/sbin:/usr/bin
|
|
|
|
# Write a reboot record to /var/log/wtmp before unmounting
|
|
halt -w
|
|
|
|
echo "Unmounting remote filesystems..."
|
|
|
|
test -f /etc/fstab && (
|
|
|
|
#
|
|
# Read through fstab line by line and unount network file systems
|
|
#
|
|
while read device mountpt fstype options
|
|
do
|
|
if test "$fstype" = nfs || test "$fstype" = smbfs || test "$fstype" = ncpfs
|
|
then
|
|
umount -f $mountpt
|
|
fi
|
|
done
|
|
) < /etc/fstab
|
|
|
|
: exit 0
|