mirror of
https://github.com/lucaspalomodevelop/opnsense-core.git
synced 2026-03-13 00:07:27 +00:00
etc: more moving of files....
This commit is contained in:
parent
2a6bb6dbad
commit
c8326ab7ab
31
etc/group
31
etc/group
@ -1,31 +0,0 @@
|
||||
wheel:*:0:root,admin
|
||||
daemon:*:1:daemon
|
||||
kmem:*:2:root
|
||||
sys:*:3:root
|
||||
tty:*:4:root
|
||||
operator:*:5:root
|
||||
mail:*:6:
|
||||
bin:*:7:
|
||||
news:*:8:
|
||||
man:*:9:
|
||||
games:*:13:
|
||||
staff:*:20:root
|
||||
sshd:*:22:
|
||||
smmsp:*:25:
|
||||
mailnull:*:26:
|
||||
guest:*:31:root
|
||||
bind:*:53:
|
||||
unbound:*:59:
|
||||
proxy:*:62:
|
||||
_pflogd:*:64:
|
||||
_dhcp:*:65:
|
||||
authpf:*:63:
|
||||
uucp:*:66:
|
||||
dialer:*:68:
|
||||
network:*:69:
|
||||
www:*:80:
|
||||
nogroup:*:65533:
|
||||
nobody:*:65534:
|
||||
audit:*:77:
|
||||
_ntp:*:123:
|
||||
_relayd:*:913:
|
||||
@ -1,7 +0,0 @@
|
||||
# $FreeBSD: src/etc/host.conf,v 1.6 1999/08/27 23:23:41 peter Exp $
|
||||
# First try the /etc/hosts file
|
||||
hosts
|
||||
# Now try the nameserver next.
|
||||
bind
|
||||
# If you have YP/NIS configured, uncomment the next line
|
||||
# nis
|
||||
5
etc/rc
5
etc/rc
@ -351,11 +351,6 @@ echo -n "."
|
||||
/sbin/ldconfig -elf /usr/lib /usr/local/lib /lib
|
||||
/etc/rc.d/ldconfig start 2>/dev/null
|
||||
|
||||
# Make sure /etc/rc.conf doesn't exist.
|
||||
if [ -f /etc/rc.conf ]; then
|
||||
/bin/rm -rf /etc/rc.conf
|
||||
fi
|
||||
|
||||
if [ ! "$PLATFORM" = "jail" ]; then
|
||||
# Launching kbdmux(4)
|
||||
if [ -f "/dev/kbdmux0" ]; then
|
||||
|
||||
@ -356,11 +356,6 @@ pfSenseNanoBSDupgrade)
|
||||
echo "---------------------------------------------------------------" >> /conf/fdisk_upgrade_log.txt
|
||||
echo "" >> /conf/fdisk_upgrade_log.txt
|
||||
|
||||
# Remove extra stuff
|
||||
rm -rf /etc/rc.conf
|
||||
rm -rf /etc/motd
|
||||
rm -rf /usr/savecore/*
|
||||
|
||||
date >> /conf/upgrade_log.txt
|
||||
echo "" >> /conf/upgrade_log.txt
|
||||
|
||||
@ -482,11 +477,6 @@ pfSenseupgrade)
|
||||
/tmp/post_upgrade_command >> /conf/upgrade_log.txt 2>&1
|
||||
fi
|
||||
|
||||
# remove unused files
|
||||
rm -rf /etc/rc.conf
|
||||
rm -rf /etc/motd
|
||||
rm -rf /usr/savecore/*
|
||||
|
||||
date >> /conf/upgrade_log.txt
|
||||
echo "" >> /conf/upgrade_log.txt
|
||||
|
||||
@ -521,10 +511,7 @@ delta_update)
|
||||
remove_chflags
|
||||
binary_update $IMG
|
||||
restore_chflags
|
||||
rm -rf /etc/rc.conf
|
||||
rm -rf /etc/motd
|
||||
find / -name CVS -type d -exec rm {} \;
|
||||
rm -rf /usr/savecore/*
|
||||
/etc/rc.conf_mount_ro
|
||||
/sbin/umount -f /cf 2>/dev/null
|
||||
/sbin/mount -r /cf 2>/dev/null
|
||||
@ -536,4 +523,3 @@ delta_update)
|
||||
|
||||
;;
|
||||
esac
|
||||
|
||||
|
||||
@ -23,21 +23,6 @@ if [ -f "/tmp/donotbootup" ]; then
|
||||
exit
|
||||
fi
|
||||
|
||||
if [ -f /etc/rc.local ]; then
|
||||
RCLOCALPWD=`ps awux | grep rc.local | grep -v grep | awk '{ print $2 }'`
|
||||
if [ "$RCLOCALPWD" = "" ]; then
|
||||
echo ">>> Launching rc.local in background..."
|
||||
sh /etc/rc.local &
|
||||
sleep 1
|
||||
sh /etc/rc.local.running &
|
||||
else
|
||||
if [ -f /etc/rc.local.running ]; then
|
||||
echo ">>> Launching rc.local.running in background..."
|
||||
sh /etc/rc.local.running &
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
CONFIG="/cf/conf/config.xml"
|
||||
WORD="https"
|
||||
|
||||
|
||||
@ -1,12 +0,0 @@
|
||||
local0.* %/var/log/filter.log
|
||||
local3.* %/var/log/vpn.log
|
||||
local4.* %/var/log/portalauth.log
|
||||
local7.* %/var/log/dhcpd.log
|
||||
local7.none %/var/log/system.log
|
||||
kern.debug;lpr.info;mail.crit; %/var/log/system.log
|
||||
news.err;local3.none;local4.none; %/var/log/system.log
|
||||
*.notice; %/var/log/system.log
|
||||
local0.none;daemon.info %/var/log/system.log
|
||||
daemon.info;security.* %/var/log/ipsec.log
|
||||
auth.info;authpriv.info %/var/log/system.log
|
||||
auth.info;authpriv.info |exec /usr/local/sbin/sshlockout_pf
|
||||
49
etc/ttys
49
etc/ttys
@ -1,49 +0,0 @@
|
||||
#
|
||||
# $FreeBSD: stable/10/etc/etc.amd64/ttys 267236 2014-06-08 17:50:07Z nwhitehorn $
|
||||
# @(#)ttys 5.1 (Berkeley) 4/17/89
|
||||
#
|
||||
# This file specifies various information about terminals on the system.
|
||||
# It is used by several different programs. Common entries for the
|
||||
# various columns include:
|
||||
#
|
||||
# name The name of the terminal device.
|
||||
#
|
||||
# getty The program to start running on the terminal. Typically a
|
||||
# getty program, as the name implies. Other common entries
|
||||
# include none, when no getty is needed, and xdm, to start the
|
||||
# X Window System.
|
||||
#
|
||||
# type The initial terminal type for this port. For hardwired
|
||||
# terminal lines, this will contain the type of terminal used.
|
||||
# For virtual consoles, the correct type is typically xterm.
|
||||
# Other common values include dialup for incoming modem ports, and
|
||||
# unknown when the terminal type cannot be predetermined.
|
||||
#
|
||||
# status Must be on or off. If on, init will run the getty program on
|
||||
# the specified port. If the word "secure" appears, this tty
|
||||
# allows root login.
|
||||
#
|
||||
# name getty type status comments
|
||||
#
|
||||
# If console is marked "insecure", then init will ask for the root password
|
||||
# when going to single-user mode.
|
||||
console none unknown off secure
|
||||
#
|
||||
ttyv0 "/usr/libexec/getty al.Pc" cons25 on secure
|
||||
# Virtual terminals
|
||||
ttyv1 "/usr/libexec/getty Pc" xterm off secure
|
||||
ttyv2 "/usr/libexec/getty Pc" xterm off secure
|
||||
ttyv3 "/usr/libexec/getty Pc" xterm off secure
|
||||
ttyv4 "/usr/libexec/getty Pc" xterm off secure
|
||||
ttyv5 "/usr/libexec/getty Pc" xterm off secure
|
||||
ttyv6 "/usr/libexec/getty Pc" xterm off secure
|
||||
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 al.115200" cons25 on 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
|
||||
# Dumb console
|
||||
dcons "/usr/libexec/getty std.9600" vt100 off secure
|
||||
@ -1,5 +0,0 @@
|
||||
FreeBSD: {
|
||||
url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest",
|
||||
mirror_type: "srv",
|
||||
enabled: yes
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user