summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/rl-system.init9
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/rl-system.init b/scripts/rl-system.init
index 1f43e331..e3733521 100755
--- a/scripts/rl-system.init
+++ b/scripts/rl-system.init
@@ -205,6 +205,15 @@ start () {
# Turn off console screen blanker
setterm -blank 0 -powersave off -powerdown 0 </dev/console >/dev/console 2>&1
+
+ # Clear out login banner changes
+ for f in /etc/issue /etc/issue.net /etc/motd
+ do
+ if [ -f $f.old ]
+ then mv $f.old $f
+ fi
+ done
+
## Clear out apt config file--it will be filled in by rtrmgr
empty /etc/apt/sources.list
}