summaryrefslogtreecommitdiff
path: root/modules.d
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2013-07-17 14:31:59 +0200
committerHarald Hoyer <harald@redhat.com>2013-07-17 14:31:59 +0200
commitc33488feb1d13feabbe47de5c06c1cc009596592 (patch)
tree007d3668a3b77233add999eb27093e0fa073fc4d /modules.d
parent18e61d3d41c8287467e2bc7178f32d188affc920 (diff)
downloaddracut-c33488feb1d13feabbe47de5c06c1cc009596592.tar.gz
dracut-c33488feb1d13feabbe47de5c06c1cc009596592.tar.bz2
dracut-c33488feb1d13feabbe47de5c06c1cc009596592.zip
rename sosreport to rdsosreport
Renamed sosreport to rdsosreport to differ from the sosreport tool on the real root.
Diffstat (limited to 'modules.d')
-rwxr-xr-xmodules.d/98systemd/dracut-emergency.sh4
-rwxr-xr-xmodules.d/99base/dracut-lib.sh4
-rwxr-xr-xmodules.d/99base/module-setup.sh2
-rwxr-xr-xmodules.d/99base/rdsosreport.sh (renamed from modules.d/99base/sosreport.sh)4
4 files changed, 7 insertions, 7 deletions
diff --git a/modules.d/98systemd/dracut-emergency.sh b/modules.d/98systemd/dracut-emergency.sh
index e1da2efe..5771dc5e 100755
--- a/modules.d/98systemd/dracut-emergency.sh
+++ b/modules.d/98systemd/dracut-emergency.sh
@@ -19,12 +19,12 @@ source_hook "$hook"
if getargbool 1 rd.shell -d -y rdshell || getarg rd.break -d rdbreak; then
echo
- sosreport
+ rdsosreport
echo
echo
echo 'Entering emergency mode. Exit the shell to continue.'
echo 'Type "journalctl" to view system logs.'
- echo 'You might want to save "/run/initramfs/sosreport.txt" to a USB stick or /boot'
+ echo 'You might want to save "/run/initramfs/rdsosreport.txt" to a USB stick or /boot'
echo 'after mounting them and attach it to a bug report.'
echo
echo
diff --git a/modules.d/99base/dracut-lib.sh b/modules.d/99base/dracut-lib.sh
index 089d3364..8eeebf33 100755
--- a/modules.d/99base/dracut-lib.sh
+++ b/modules.d/99base/dracut-lib.sh
@@ -939,8 +939,8 @@ _emergency_shell()
else
debug_off
echo
- /sbin/sosreport
- echo 'You might want to save "/run/initramfs/sosreport.txt" to a USB stick or /boot'
+ /sbin/rdsosreport
+ echo 'You might want to save "/run/initramfs/rdsosreport.txt" to a USB stick or /boot'
echo 'after mounting them and attach it to a bug report.'
if ! RD_DEBUG= getargbool 0 rd.debug -d -y rdinitdebug -d -y rdnetdebug; then
echo
diff --git a/modules.d/99base/module-setup.sh b/modules.d/99base/module-setup.sh
index 57fd3bc5..86bf3b43 100755
--- a/modules.d/99base/module-setup.sh
+++ b/modules.d/99base/module-setup.sh
@@ -43,7 +43,7 @@ install() {
inst_script "$moddir/init.sh" "/init"
inst_script "$moddir/initqueue.sh" "/sbin/initqueue"
inst_script "$moddir/loginit.sh" "/sbin/loginit"
- inst_script "$moddir/sosreport.sh" "/sbin/sosreport"
+ inst_script "$moddir/rdsosreport.sh" "/sbin/rdsosreport"
[ -e "${initdir}/lib" ] || mkdir -m 0755 -p ${initdir}/lib
mkdir -m 0755 -p ${initdir}/lib/dracut
diff --git a/modules.d/99base/sosreport.sh b/modules.d/99base/rdsosreport.sh
index eb1ba803..bfa55bbb 100755
--- a/modules.d/99base/sosreport.sh
+++ b/modules.d/99base/rdsosreport.sh
@@ -1,10 +1,10 @@
#!/bin/sh
-echo 'Generating "/run/initramfs/sosreport.txt"'
+echo 'Generating "/run/initramfs/rdsosreport.txt"'
[ -d /run/initramfs ] || mkdir -p /run/initramfs
-exec >/run/initramfs/sosreport.txt 2>&1
+exec >/run/initramfs/rdsosreport.txt 2>&1
set -x