summaryrefslogtreecommitdiff
path: root/openwrt/package/base-files/default/bin
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-06-27 00:36:13 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-06-27 00:36:13 +0000
commitf804d0ea1d131152acccd2a108c231fe07c4196c (patch)
tree9e645cd7f30ba5db61ca860cb8a1d9626dfc152a /openwrt/package/base-files/default/bin
parent3e639bb44e72036b1b16f07025a7997fa561124d (diff)
downloadmtk-20170518-f804d0ea1d131152acccd2a108c231fe07c4196c.zip
mtk-20170518-f804d0ea1d131152acccd2a108c231fe07c4196c.tar.gz
mtk-20170518-f804d0ea1d131152acccd2a108c231fe07c4196c.tar.bz2
add copyright headers to base-files scripts and config files
SVN-Revision: 4090
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" ] &&
{