summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/etc.arm/ttys4
-rwxr-xr-xetc/rc.d/hostid2
2 files changed, 3 insertions, 3 deletions
diff --git a/etc/etc.arm/ttys b/etc/etc.arm/ttys
index ba410b7..501bae6 100644
--- a/etc/etc.arm/ttys
+++ b/etc/etc.arm/ttys
@@ -29,7 +29,7 @@
# when going to single-user mode.
console none unknown off secure
#
-ttyv0 "/usr/libexec/getty Pc" xterm off secure
+ttyv0 "/usr/libexec/getty Pc" xterm onifconsole secure
# Virtual terminals
ttyv1 "/usr/libexec/getty Pc" xterm off secure
ttyv2 "/usr/libexec/getty Pc" xterm off secure
@@ -41,7 +41,7 @@ ttyv7 "/usr/libexec/getty Pc" xterm off secure
#ttyv8 "/usr/local/bin/xdm -nodaemon" xterm off secure
# Serial terminals
# The 'dialup' keyword identifies dialin lines to login, fingerd etc.
-ttyu0 "/usr/libexec/getty 3wire" vt100 on secure
+ttyu0 "/usr/libexec/getty 3wire" vt100 onifconsole secure
ttyu1 "/usr/libexec/getty std.9600" dialup off secure
ttyu2 "/usr/libexec/getty std.9600" dialup off secure
ttyu3 "/usr/libexec/getty std.9600" dialup off secure
diff --git a/etc/rc.d/hostid b/etc/rc.d/hostid
index 281b241..a26cbc0 100755
--- a/etc/rc.d/hostid
+++ b/etc/rc.d/hostid
@@ -58,7 +58,7 @@ hostid_set()
valid_hostid()
{
- uuid=$1
+ uuid=$(echo $1 | tr '[:upper:]' '[:lower:]')
x="[0-9a-f]"
y=$x$x$x$x
OpenPOWER on IntegriCloud