1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

add copyright headers to base-files scripts and config files

git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4090 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd
2006-06-27 00:36:13 +00:00
parent da030183af
commit ed5ef674d1
40 changed files with 70 additions and 3 deletions

View File

@@ -1,4 +1,6 @@
#!/bin/sh
# Copyright (C) 2006 OpenWrt.org
. /etc/functions.sh
[ -f /proc/mounts ] || /sbin/mount_root

View File

@@ -1,2 +1,4 @@
#!/bin/sh
# Copyright (C) 2006 OpenWrt.org
[ -d /www ] && httpd -p 80 -h /www -r OpenWrt

View File

@@ -1,2 +1,4 @@
#!/bin/sh
# Copyright (C) 2006 OpenWrt.org
if awk -F: '/^root:/ && $2 !~ /\!/ {exit 1}' /etc/passwd 2>/dev/null; then telnetd -l /bin/login; fi

View File

@@ -1,4 +1,6 @@
#!/bin/sh
# Copyright (C) 2006 OpenWrt.org
mkdir -p /var/spool/cron
ln -s /etc/crontabs /var/spool/cron/crontabs
crond -c /etc/crontabs

View File

@@ -1,4 +1,6 @@
#!/bin/sh
# Copyright (C) 2006 OpenWrt.org
sysctl -p >&-
# automagically run firstboot

View File

@@ -1,4 +1,6 @@
#!/bin/sh
# Copyright (C) 2006 OpenWrt.org
${FAILSAFE:+exit}
[ -f /etc/config/network ] && . /etc/config/network