aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Powalowski <tpowa@archlinux.org>2007-05-12 12:55:37 +0000
committerTobias Powalowski <tpowa@archlinux.org>2007-05-12 12:55:37 +0000
commitcc2c8b1fa2a709b405e3efc65222b984a63e13c6 (patch)
tree0700671eb732eeeed1154fc7a012b97f3c343c38
parent352dda7e7ba2c62686579e2c58b519ebb961b8be (diff)
downloadinitscripts-cc2c8b1fa2a709b405e3efc65222b984a63e13c6.tar.xz
'upgpkg: bump to Duke and cleanup rc.sysinit and netds'
-rwxr-xr-xnetfs4
-rwxr-xr-xrc.sysinit11
2 files changed, 8 insertions, 7 deletions
diff --git a/netfs b/netfs
index 6a490fc..f1c8ed1 100755
--- a/netfs
+++ b/netfs
@@ -6,7 +6,7 @@
case "$1" in
start)
stat_busy "Mounting Network Filesystems"
- /bin/mount -a -t nfs,smbfs,codafs,cifs,shfs,fuse
+ /bin/mount -a -t nfs,smbfs,codafs,cifs,shfs,fuse,fuseblk
if [ $? -gt 0 ]; then
stat_fail
else
@@ -16,7 +16,7 @@ case "$1" in
;;
stop)
stat_busy "Unmounting Network Filesystems"
- umount -a -t nfs,smbfs,codafs,cifs,shfs,fuse
+ umount -a -t nfs,smbfs,codafs,cifs,shfs,fuse,fuseblk
if [ $? -gt 0 ]; then
stat_fail
else
diff --git a/rc.sysinit b/rc.sysinit
index 2e9554f..e37c809 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -7,7 +7,7 @@
. /etc/rc.d/functions
echo " "
-printhl "Arch Linux v0.8 $C_OTHER(${C_H2}Voodoo$C_OTHER)\n"
+printhl "Arch Linux $C_OTHER(${C_H2}Duke$C_OTHER)\n"
printhl "${C_H2}http://www.archlinux.org"
printhl "Copyright 2002-2007 Judd Vinet"
printhl "Distributed under the GNU General Public License (GPL)"
@@ -28,7 +28,7 @@ else
fi
# mount /sys
-grep -qw sysfs /proc/filesystems && mount -n -t sysfs none /sys
+mount -n -t sysfs none /sys
# mount usbfs
/sbin/modprobe usbcore >/dev/null 2>&1
grep -qw usbfs /proc/filesystems && mount -n -t usbfs none /proc/bus/usb
@@ -188,7 +188,7 @@ fi
FORCEFSCK=
[ -f /forcefsck ] && FORCEFSCK="-- -f"
-NETFS="nonfs,nosmbfs,nocifs,nocodafs,noncpfs,nosysfs,nousbfs,noshfs,nofuse"
+NETFS="nonfs,nosmbfs,nocifs,nocodafs,noncpfs,nosysfs,nousbfs,noshfs,nofuse,nofuseblk"
if [ -x /sbin/fsck ]; then
stat_busy "Checking Filesystems"
@@ -239,8 +239,9 @@ stat_busy "Mounting Local Filesystems"
/bin/mount -o remount,rw /
# re-mount /proc , /sys and usbfs so they can be written to /etc/mtab
umount /proc/bus/usb
-umount /proc && mount -t proc none /proc
-grep -qw sysfs /proc/filesystems && umount /sys && mount -t sysfs none /sys
+if [ -e /proc/mounts ]; then
+ grep -e "/proc " -e "/sys " -e "/dev " /proc/mounts >> /etc/mtab
+fi
if grep -qw usbfs /proc/filesystems; then
# Some people use custom permissions for their usbfs
if grep -qw /proc/bus/usb /etc/fstab; then