From 81e77426e554a61d85e1738af604359171a6062e Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Wed, 8 Jun 2011 22:37:07 -0400 Subject: init: declare PATH, remove absolute paths We were never very consistent about this anyways. Signed-off-by: Dave Reisner --- init_functions | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'init_functions') diff --git a/init_functions b/init_functions index 8e232d7..22c01f0 100644 --- a/init_functions +++ b/init_functions @@ -26,8 +26,8 @@ poll_device() { launch_interactive_shell() { export PS1='[ramfs \W]\$ ' - [ "$1" = "--exec" ] && exec /bin/sh -i - /bin/sh -i + [ "$1" = "--exec" ] && exec sh -i + sh -i } parse_cmdline() { @@ -120,7 +120,7 @@ default_mount_handler() { if [ -n "${rootfstype}" ]; then fstype="${rootfstype}" else - fstype=$(sbin/blkid -u filesystem -o value -s TYPE -p "${root}") + fstype=$(blkid -u filesystem -o value -s TYPE -p "${root}") if [ -z "${fstype}" ]; then err "Unable to determine the file system type of ${root}:" echo "Either it contains no filesystem, an unknown filesystem," -- cgit v1.2.3-24-g4f1b