summaryrefslogtreecommitdiffstats
path: root/package/base-files/default/bin
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files/default/bin')
-rwxr-xr-xpackage/base-files/default/bin/ipcalc1
-rwxr-xr-xpackage/base-files/default/bin/login2
2 files changed, 3 insertions, 0 deletions
diff --git a/package/base-files/default/bin/ipcalc b/package/base-files/default/bin/ipcalc
index 318980e5a..23af6a0c3 100755
--- a/package/base-files/default/bin/ipcalc
+++ b/package/base-files/default/bin/ipcalc
@@ -1,4 +1,5 @@
#!/bin/sh
+# Copyright (C) 2006 OpenWrt.org
awk -f /usr/lib/common.awk -f - $* <<EOF
BEGIN {
diff --git a/package/base-files/default/bin/login b/package/base-files/default/bin/login
index 8f9281726..ff5d3660e 100755
--- a/package/base-files/default/bin/login
+++ b/package/base-files/default/bin/login
@@ -1,4 +1,6 @@
#!/bin/sh
+# Copyright (C) 2006 OpenWrt.org
+
grep '^root:[^!]' /etc/passwd >&- 2>&-
[ "$?" = "0" -a -z "$FAILSAFE" ] &&
{