diff options
author | Dave Reisner <d@falconindy.com> | 2011-06-09 04:37:07 +0200 |
---|---|---|
committer | Thomas Bächler <thomas@archlinux.org> | 2011-06-25 12:25:45 +0200 |
commit | 81e77426e554a61d85e1738af604359171a6062e (patch) | |
tree | 93cc1d2444fe29f466706ceda19d801978c99fd4 /init_functions | |
parent | 6dba57232914a1952dedea70a1dad38142ba7258 (diff) | |
download | mkinitcpio-81e77426e554a61d85e1738af604359171a6062e.tar.gz mkinitcpio-81e77426e554a61d85e1738af604359171a6062e.tar.xz |
init: declare PATH, remove absolute paths
We were never very consistent about this anyways.
Signed-off-by: Dave Reisner <d@falconindy.com>
Diffstat (limited to 'init_functions')
-rw-r--r-- | init_functions | 6 |
1 files changed, 3 insertions, 3 deletions
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," |