summaryrefslogtreecommitdiff
path: root/modules.d/99base
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/99base
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/99base')
-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
3 files changed, 5 insertions, 5 deletions
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