summaryrefslogtreecommitdiffstats
path: root/init_functions
diff options
context:
space:
mode:
Diffstat (limited to 'init_functions')
-rw-r--r--init_functions6
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,"