[arch-projects] [PATCH 1/2] network/rc.sysinit: remove dead code
Dave Reisner
d at falconindy.com
Sun May 22 10:43:18 EDT 2011
---
network | 5 -----
rc.sysinit | 2 --
2 files changed, 0 insertions(+), 7 deletions(-)
diff --git a/network b/network
index 5a261b4..9cd6109 100755
--- a/network
+++ b/network
@@ -210,11 +210,6 @@ case "$1" in
fi
;;
stop)
- #if ck_daemon network; then
- # echo "Network is not running. Try 'network start'"
- # exit
- #fi
-
if [[ $NETWORK_PERSIST =~ yes|YES && $RUNLEVEL == [06] ]]; then
status "Skipping Network Shutdown" true
exit 0
diff --git a/rc.sysinit b/rc.sysinit
index fa1ba5f..5a21539 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -328,8 +328,6 @@ stat_busy "Removing Leftover Files"
/bin/mkdir -m1777 /tmp/.{X11,ICE}-unix
stat_done
-#status "Updating Shared Library Links" /sbin/ldconfig
-
if [[ $HOSTNAME ]]; then
status "Setting Hostname: $HOSTNAME" /bin/hostname "$HOSTNAME"
fi
--
1.7.5.2
More information about the arch-projects
mailing list