aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/rc
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2008-05-13 12:22:55 -0400
committerBill Nottingham <notting@redhat.com>2008-05-13 12:22:55 -0400
commitc722b0ee95746aa9289efd40bbdd23a87d1e5dee (patch)
tree41f58a4cb626f15731bf401ac1ae956337bd5c49 /rc.d/rc
parent73a91036b96450f976c5e45d3478d4b6f905c79a (diff)
downloadinitscripts-c722b0ee95746aa9289efd40bbdd23a87d1e5dee.tar
initscripts-c722b0ee95746aa9289efd40bbdd23a87d1e5dee.tar.gz
initscripts-c722b0ee95746aa9289efd40bbdd23a87d1e5dee.tar.bz2
initscripts-c722b0ee95746aa9289efd40bbdd23a87d1e5dee.tar.xz
initscripts-c722b0ee95746aa9289efd40bbdd23a87d1e5dee.zip
Remove rhgb support.
Diffstat (limited to 'rc.d/rc')
-rwxr-xr-xrc.d/rc10
1 files changed, 0 insertions, 10 deletions
diff --git a/rc.d/rc b/rc.d/rc
index 0d1abd12..2766aa68 100755
--- a/rc.d/rc
+++ b/rc.d/rc
@@ -29,10 +29,6 @@ export runlevel previous
export CONSOLETYPE
cmdline=$(cat /proc/cmdline)
-if ! strstr "$cmdline" rhgb; then
- GRAPHICAL="no"
- export GRAPHICAL
-fi
do_confirm="no"
if [ -f /var/run/confirm ]; then
do_confirm="yes"
@@ -97,7 +93,6 @@ for i in /etc/rc$runlevel.d/S* ; do
set +x
fi
- update_boot_stage "$subsys"
# Bring the subsystem up.
[ -n "$UPSTART" ] && initctl emit --quiet "starting $subsys"
if [ "$subsys" = "halt" -o "$subsys" = "reboot" ]; then
@@ -108,8 +103,3 @@ for i in /etc/rc$runlevel.d/S* ; do
[ -n "$UPSTART" ] && initctl emit --quiet "started $subsys"
done
[ "$do_confirm" = "yes" ] && rm -f /var/run/confirm
-if [ "$GRAPHICAL" = "yes" ]; then
- if [ -x /usr/bin/rhgb-client ] && /usr/bin/rhgb-client --ping ; then
- /usr/bin/rhgb-client --quit
- fi
-fi