mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-19 07:23:03 +02:00
util-linux: update to 2.24.
this is needed for newer udev versions but need some initskript changes. The updater and arm rootfile is not finished yet.
This commit is contained in:
@@ -24,11 +24,9 @@ case "${1}" in
|
||||
# Remove fsck-related file system watermarks.
|
||||
rm -f /fastboot /forcefsck
|
||||
|
||||
boot_mesg "Recording existing mounts in /etc/mtab..."
|
||||
boot_mesg "Create /etc/mtab..."
|
||||
> /etc/mtab
|
||||
mount -f / || failed=1
|
||||
mount -f /proc || failed=1
|
||||
mount -f /sys || failed=1
|
||||
(exit ${failed})
|
||||
evaluate_retval
|
||||
|
||||
@@ -49,9 +47,6 @@ case "${1}" in
|
||||
boot_mesg "Unmounting all other currently mounted file systems..."
|
||||
umount -a -d -r &>/dev/null
|
||||
evaluate_retval
|
||||
|
||||
# mount /sys again for led control at halt
|
||||
mount /sys 2>&1 >/dev/null
|
||||
;;
|
||||
*)
|
||||
echo "Usage: ${0} {start|stop}"
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#
|
||||
# Authors : Arne Fitzenreiter - arne_f@ipfire.org
|
||||
#
|
||||
# Version : 1.01
|
||||
# Version : 1.02
|
||||
#
|
||||
# Notes :
|
||||
#
|
||||
@@ -22,6 +22,12 @@ case "${1}" in
|
||||
mount -o remount,rw / > /dev/null
|
||||
evaluate_retval
|
||||
|
||||
boot_mesg "Create /etc/mtab..."
|
||||
> /etc/mtab
|
||||
mount -f / || failed=1
|
||||
(exit ${failed})
|
||||
evaluate_retval
|
||||
|
||||
# Detect device
|
||||
ROOT=`mount | grep -m1 " / " | cut -d" " -f1`;
|
||||
if [ "${ROOT:`expr length $ROOT`-2:1}" == "p" ]; then
|
||||
@@ -49,4 +55,3 @@ case "${1}" in
|
||||
esac
|
||||
|
||||
# End $rc_base/init.d/partresize
|
||||
|
||||
|
||||
Reference in New Issue
Block a user