summaryrefslogtreecommitdiff
path: root/openwrt/package/base-files/default/bin
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/base-files/default/bin')
-rwxr-xr-xopenwrt/package/base-files/default/bin/ipcalc1
-rwxr-xr-xopenwrt/package/base-files/default/bin/login2
2 files changed, 3 insertions, 0 deletions
diff --git a/openwrt/package/base-files/default/bin/ipcalc b/openwrt/package/base-files/default/bin/ipcalc
index 318980e..23af6a0 100755
--- a/openwrt/package/base-files/default/bin/ipcalc
+++ b/openwrt/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/openwrt/package/base-files/default/bin/login b/openwrt/package/base-files/default/bin/login
index 8f92817..ff5d366 100755
--- a/openwrt/package/base-files/default/bin/login
+++ b/openwrt/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" ] &&
{