diff options
author | Roy Marples <roy@marples.name> | 2007-04-13 15:20:10 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2007-04-13 15:20:10 +0000 |
commit | 876bd89f4b99f0149b526d88bb03f91847f0c33d (patch) | |
tree | e3af75ed9891a5a0de3e07811761d190ff65db85 /sh.Linux | |
parent | 6dde29a0c940a16b2228233fc5d2336eca2f6d2f (diff) |
hug getopt_long some more
Diffstat (limited to 'sh.Linux')
-rwxr-xr-x | sh.Linux/init.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sh.Linux/init.sh b/sh.Linux/init.sh index fc19bddb..61da1509 100755 --- a/sh.Linux/init.sh +++ b/sh.Linux/init.sh @@ -31,7 +31,7 @@ single_user() { mount_svcdir() { local fs= fsopts="-o rw,noexec,nodev,nosuid" devdir="none" devtmp="none" x= local svcsize=${svcsize:-1024} - local mntcmd=$(fstabinfo --mount-cmd "${RC_LIBDIR}") + local mntcmd=$(fstabinfo --mountcmd "${RC_LIBDIR}") if grep -Eq "[[:space:]]+tmpfs$" /proc/filesystems ; then fs="tmpfs" @@ -117,7 +117,7 @@ if [ ! -e /proc/self/stat ] ; then procfs="proc" [ "${RC_UNAME}" = "GNU/kFreeBSD" ] && proc="linprocfs" ebegin "Mounting ${procfs} at /proc" - mntcmd="$(fstabinfo --mount-cmd /proc)" + mntcmd="$(fstabinfo --mountcmd /proc)" try mount -n ${mntcmd:--t ${procfs} -o noexec,nosuid,nodev proc /proc} eend $? fi @@ -136,7 +136,7 @@ K26=$? if [ "${RC_UNAME}" != "GNU/kFreeBSD" -a "${RC_NAME}" != "VPS" -a "${K26}" = "0" ] ; then if [ -d /sys ] ; then ebegin "Mounting sysfs at /sys" - mntcmd="$(fstabinfo --mount-cmd /sys)" + mntcmd="$(fstabinfo --mountcmd /sys)" try mount -n ${mntcmd:--t sysfs -o noexec,nosuid,nodev sysfs /sys} eend $? else @@ -231,7 +231,7 @@ if [ "${RC_UNAME}" != "GNU/kFreeBSD" -a "${K26}" = "0" ] ; then if [ -d /dev/pts ] ; then ebegin "Mounting devpts at /dev/pts" - mntcmd="$(fstabinfo --mount-cmd /dev/pts)" + mntcmd="$(fstabinfo --mountcmd /dev/pts)" try mount -n ${mntcmd:--t devpts -o gid=5,mode=0620,noexec,nosuid devpts /dev/pts} eend $? fi |