Home
last modified time | relevance | path

Searched refs:etc (Results 1 – 25 of 2622) sorted by relevance

12345678910>>...105

/external/ltp/testscripts/
Dautofs1.sh104 floppy_dev=`grep floppy /etc/fstab | awk '{print $1}'`
124 echo "/AUTOFS/MEDIA /etc/auto.media" > /etc/auto.master
125 echo "floppy -fstype=ext2 :$floppy_dev" > /etc/auto.media
137 /etc/init.d/autofs start
140 rm -rf /etc/auto.master /etc/auto.media /AUTOFS
141 echo "FAILED: "/etc/init.d/autofs start""
147 /etc/init.d/autofs stop
150 rm -rf /etc/auto.master /etc/auto.media /AUTOFS
151 echo "FAILED: "/etc/init.d/autofs stop""
154 /etc/init.d/autofs start
[all …]
Dautofs4.sh99 floppy_dev=`grep floppy /etc/fstab | awk '{print $1}'`
116 echo "/AUTOFS/MEDIA /etc/auto.media " > /etc/auto.master
117 echo "floppy -fstype=ext2 :$floppy_dev" > /etc/auto.media
129 /etc/init.d/autofs start >/dev/null 2>&1
132 rm -rf /etc/auto.master /etc/auto.media /AUTOFS
133 echo "FAILED: "/etc/init.d/autofs start""
139 /etc/init.d/autofs stop >/dev/null 2>&1
142 rm -rf /etc/auto.master /etc/auto.media /AUTOFS
143 echo "FAILED: "/etc/init.d/autofs stop""
146 /etc/init.d/autofs start >/dev/null 2>&1
[all …]
/external/selinux/mcstrans/share/util/
Dtry-all15 …rm -rf /etc/selinux/mls/setrans.conf.bak /etc/selinux/mls/secolor.conf.bak /etc/selinux/mls/setran…
19 mv /etc/selinux/mls/setrans.conf /etc/selinux/mls/setrans.conf.bak
23 if [ -e /etc/selinux/mls/secolor.conf ]; then
24 mv /etc/selinux/mls/secolor.conf /etc/selinux/mls/secolor.conf.bak
28 mv /etc/selinux/mls/setrans.d /etc/selinux/mls/setrans.d.bak
32 cp -L $d/setrans.conf /etc/selinux/mls/setrans.conf
35 cp -L $d/secolor.conf /etc/selinux/mls
38 cp -Lr $d/setrans.d /etc/selinux/mls
41 runcon `cat /etc/selinux/mls/contexts/initrc_context` /etc/init.d/mcstrans restart
49 if [ -e /etc/selinux/mls/setrans.conf.bak ]; then
[all …]
/external/syzkaller/tools/
Dcreate-image.sh17 sudo sed -i '/^root/ { s/:x:/::/ }' $DIR/etc/passwd
18 echo 'T0:23:respawn:/sbin/getty -L ttyS0 115200 vt100' | sudo tee -a $DIR/etc/inittab
19 printf '\nauto eth0\niface eth0 inet dhcp\n' | sudo tee -a $DIR/etc/network/interfaces
20 echo 'debugfs /sys/kernel/debug debugfs defaults 0 0' | sudo tee -a $DIR/etc/fstab
21 echo 'binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc defaults 0 0' | sudo tee -a $DIR/etc/fstab
22 echo 'SELINUX=disabled' | sudo tee $DIR/etc/selinux/config
23 echo "kernel.printk = 7 4 1 3" | sudo tee -a $DIR/etc/sysctl.conf
24 echo 'debug.exception-trace = 0' | sudo tee -a $DIR/etc/sysctl.conf
25 echo "net.core.bpf_jit_enable = 1" | sudo tee -a $DIR/etc/sysctl.conf
26 echo "net.core.bpf_jit_kallsyms = 1" | sudo tee -a $DIR/etc/sysctl.conf
[all …]
Dcreate-gce-image.sh102 sudo sed -i "/^root/ { s/:x:/::/ }" disk.mnt/etc/passwd
103 echo "T0:23:respawn:/sbin/getty -L ttyS0 115200 vt100" | sudo tee -a disk.mnt/etc/inittab
104 …ace lo inet loopback\nauto eth0\niface eth0 inet dhcp\n" | sudo tee disk.mnt/etc/network/interfaces
105 echo "debugfs /sys/kernel/debug debugfs defaults 0 0" | sudo tee -a disk.mnt/etc/fstab
106 echo 'binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc defaults 0 0' | sudo tee -a disk.mnt/etc/fst…
109 sudo tee -a disk.mnt/etc/udev/50-binder.rules
113 echo 'SELINUX=disabled' | sudo tee disk.mnt/etc/selinux/config
116 echo "kernel.printk = 7 4 1 3" | sudo tee -a disk.mnt/etc/sysctl.conf
117 echo "debug.exception-trace = 0" | sudo tee -a disk.mnt/etc/sysctl.conf
120 cat $SYZ_SYSCTL_FILE | sudo tee -a disk.mnt/etc/sysctl.conf
[all …]
/external/ltp/testcases/kdump/lib/
Dtest.sh197 echo "ext3 ${EXT3_PART}" >/etc/kdump.conf
199 echo "core_collector makedumpfile ${MAKE_OPTIONS}" >>/etc/kdump.conf
201 /etc/init.d/kdump restart
206 echo "ext3 LABEL=${EXT3_LABEL}" >/etc/kdump.conf
208 echo "core_collector makedumpfile ${MAKE_OPTIONS}" >>/etc/kdump.conf
210 /etc/init.d/kdump restart
215 echo "ext3 UUID=${EXT3_UID}" >/etc/kdump.conf
217 echo "core_collector makedumpfile ${MAKE_OPTIONS}" >>/etc/kdump.conf
219 /etc/init.d/kdump restart
224 echo "raw ${RAW_PART}" >/etc/kdump.conf
[all …]
/external/openssh/
Dbuildpkg.sh.in213 mkdir -p $FAKE_ROOT${TEST_DIR}/etc/init.d
215 cp ${OPENSSHD} $FAKE_ROOT${TEST_DIR}/etc/init.d/${SYSVINIT_NAME}
216 chmod 744 $FAKE_ROOT${TEST_DIR}/etc/init.d/${SYSVINIT_NAME}
273 $TEST_DIR/etc/rc0.d/${SYSVINITSTOPT}${SYSVINIT_NAME} 0 1
274 $TEST_DIR/etc/rc2.d/${SYSVINITSTART}${SYSVINIT_NAME} 0 1
300 ${TEST_DIR}/etc/init.d/${SYSVINIT_NAME} stop
321 [ "$RCS_D" = yes ] && mkdir -p ${TEST_DIR}/etc/rcS.d
322 mkdir -p ${TEST_DIR}/etc/rc0.d
323 [ "$RC1_D" = no ] || mkdir -p ${TEST_DIR}/etc/rc1.d
324 mkdir -p ${TEST_DIR}/etc/rc2.d
[all …]
Dssh-keysign.014 client configuration file /etc/ssh/ssh_config by setting EnableSSHKeysign
22 /etc/ssh/ssh_config
25 /etc/ssh/ssh_host_dsa_key
26 /etc/ssh/ssh_host_ecdsa_key
27 /etc/ssh/ssh_host_ed25519_key
28 /etc/ssh/ssh_host_rsa_key
35 /etc/ssh/ssh_host_dsa_key-cert.pub
36 /etc/ssh/ssh_host_ecdsa_key-cert.pub
37 /etc/ssh/ssh_host_ed25519_key-cert.pub
38 /etc/ssh/ssh_host_rsa_key-cert.pub
/external/iptables/extensions/
Dlibxt_connlabel.t3 @[ -f /etc/xtables/connlabel.conf ] && mv /etc/xtables/connlabel.conf /tmp/connlabel.conf.bak
4 @mkdir -p /etc/xtables
5 @echo "40 bit40" > /etc/xtables/connlabel.conf
6 @echo "41 bit41" >> /etc/xtables/connlabel.conf
7 @echo "128 bit128" >> /etc/xtables/connlabel.conf
13 @echo > /etc/xtables/connlabel.conf
15 @rm -f /etc/xtables/connlabel.conf
18 @[ -f /tmp/connlabel.conf.bak ] && mv /tmp/connlabel.conf.bak /etc/xtables/connlabel.conf
/external/syzkaller/pkg/build/
Dlinux_generated.go61 sudo sed -i "/^root/ { s/:x:/::/ }" disk.mnt/etc/passwd
62 echo "T0:23:respawn:/sbin/getty -L ttyS0 115200 vt100" | sudo tee -a disk.mnt/etc/inittab
63 …ace lo inet loopback\nauto eth0\niface eth0 inet dhcp\n" | sudo tee disk.mnt/etc/network/interfaces
64 echo "debugfs /sys/kernel/debug debugfs defaults 0 0" | sudo tee -a disk.mnt/etc/fstab
65 echo 'binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc defaults 0 0' | sudo tee -a disk.mnt/etc/fst…
68 sudo tee -a disk.mnt/etc/udev/50-binder.rules
70 echo 'SELINUX=disabled' | sudo tee disk.mnt/etc/selinux/config
72 echo "kernel.printk = 7 4 1 3" | sudo tee -a disk.mnt/etc/sysctl.conf
73 echo "debug.exception-trace = 0" | sudo tee -a disk.mnt/etc/sysctl.conf
76 cat $SYZ_SYSCTL_FILE | sudo tee -a disk.mnt/etc/sysctl.conf
[all …]
/external/e2fsprogs/tests/f_dup_de/
Dexpect.14 Marking /etc (12) to be rebuilt.
8 Duplicate entry 'fstab' in /etc (12) found. Clear? yes
10 Duplicate entry 'localtime' in /etc (12) found. Clear? yes
12 Duplicate entry 'mailcap.dpkg-old' in /etc (12) found. Clear? yes
14 Duplicate entry 'modules.conf.old' in /etc (12) found. Clear? yes
16 Entry 'modules.conf.old' in /etc (12) has a non-unique filename.
19 Duplicate entry 'resolv.conf' in /etc (12) found. Clear? yes
21 Duplicate entry 'usb.permissions' in /etc (12) found. Clear? yes
Dexpect-nohtree.17 Marking /etc (12) to be rebuilt.
11 Duplicate entry 'fstab' in /etc (12) found. Clear? yes
13 Duplicate entry 'localtime' in /etc (12) found. Clear? yes
15 Duplicate entry 'mailcap.dpkg-old' in /etc (12) found. Clear? yes
17 Duplicate entry 'modules.conf.old' in /etc (12) found. Clear? yes
19 Entry 'modules.conf.old' in /etc (12) has a non-unique filename.
22 Duplicate entry 'resolv.conf' in /etc (12) found. Clear? yes
24 Duplicate entry 'usb.permissions' in /etc (12) found. Clear? yes
/external/libcap/contrib/
Dpcaps4server84 sed -i -e "{s|^\(User\).*|\1 apache|; s|^\(Group\) .*|\1 apache|}" /etc/apache/httpd.conf
86 chown $VERBOSE -R apache:apache /etc/apache/
96 chown $VERBOSE -R root:root /etc/apache/
102 sed -i -e "{s|^\(User\).*|\1 nobody|; s|^\(Group\).*|\1 nogroup|}" /etc/apache/httpd.conf
119 sed -i -e "{s|^\(User\).*|\1 apache|; s|^\(Group\) .*|\1 apache|}" /etc/httpd/httpd.conf
121 chown $VERBOSE -R apache:apache /etc/httpd/
132 chown $VERBOSE -R root:root /etc/httpd/
138 sed -i -e "{s|^\(User\).*|\1 nobody|; s|^\(Group\).*|\1 nogroup|}" /etc/httpd/httpd.conf
156 chown $VERBOSE -R samba:samba /etc/samba
170 chown $VERBOSE -R root:root /etc/samba
[all …]
/external/openssh/contrib/redhat/
Dsshd.init16 . /etc/rc.d/init.d/functions
19 [ -f /etc/sysconfig/sshd ] && . /etc/sysconfig/sshd
43 /sbin/restorecon /etc/ssh/ssh_host_key.pub
44 /sbin/restorecon /etc/ssh/ssh_host_rsa_key.pub
45 /sbin/restorecon /etc/ssh/ssh_host_dsa_key.pub
46 /sbin/restorecon /etc/ssh/ssh_host_ecdsa_key.pub
Dsshd.init.old16 . /etc/rc.d/init.d/functions
19 [ -f /etc/sysconfig/sshd ] && . /etc/sysconfig/sshd
27 RSA1_KEY=/etc/ssh/ssh_host_key
28 RSA_KEY=/etc/ssh/ssh_host_rsa_key
29 DSA_KEY=/etc/ssh/ssh_host_dsa_key
/external/selinux/mcstrans/share/examples/nato/
DREADME4 mkdir /etc/selinux/mls/mcstrand.d
5 cp rel.conf /etc/selinux/mls/mcstrand.d
6 cp eyes-only.conf /etc/selinux/mls/mcstrand.d
7 cp constraints.conf /etc/selinux/mls/mcstrand.d
8 cp setrans.conf /etc/selinux/mls/setrans.conf
9 sudo run_init /etc/init.d/mcstrans restart
/external/openssh/contrib/aix/
Dbuildbff.sh207 if cut -f1 -d: /etc/group | egrep '^'$SSH_PRIVSEP_USER'\$' >/dev/null
276 if egrep "^\$oldstartcmd" /etc/rc.tcpip >/dev/null
278 if sed "s|^\$oldstartcmd|\$startupcmd|g" /etc/rc.tcpip >/etc/rc.tcpip.new
280 chmod 0755 /etc/rc.tcpip.new
281 mv /etc/rc.tcpip /etc/rc.tcpip.old && \
282 mv /etc/rc.tcpip.new /etc/rc.tcpip
288 if grep "^\$startupcmd" /etc/rc.tcpip >/dev/null
293 echo >>/etc/rc.tcpip
294 echo "# Start sshd" >>/etc/rc.tcpip
295 echo "\$startupcmd" >>/etc/rc.tcpip
/external/tensorflow/tensorflow/tools/ci_build/install/
Dinstall_pi_python3_toolchain.sh18 echo 'deb [arch=armhf] http://ports.ubuntu.com/ trusty main restricted universe multiverse' >> /etc
19 …/ports.ubuntu.com/ trusty-updates main restricted universe multiverse' >> /etc/apt/sources.list.d/…
20 …ports.ubuntu.com/ trusty-security main restricted universe multiverse' >> /etc/apt/sources.list.d/…
21 …orts.ubuntu.com/ trusty-backports main restricted universe multiverse' >> /etc/apt/sources.list.d/…
22 …hive.ubuntu.com/ubuntu/#deb [arch=amd64] http://archive.ubuntu.com/ubuntu/#g' /etc/apt/sources.list
25 echo "deb [arch=amd64] http://storage.googleapis.com/bazel-apt stable jdk1.8" | sudo tee /etc/apt/s…
Dinstall_pi_toolchain.sh18 echo 'deb [arch=armhf] http://ports.ubuntu.com/ trusty main restricted universe multiverse' >> /etc
19 …/ports.ubuntu.com/ trusty-updates main restricted universe multiverse' >> /etc/apt/sources.list.d/…
20 …ports.ubuntu.com/ trusty-security main restricted universe multiverse' >> /etc/apt/sources.list.d/…
21 …orts.ubuntu.com/ trusty-backports main restricted universe multiverse' >> /etc/apt/sources.list.d/…
22 …hive.ubuntu.com/ubuntu/#deb [arch=amd64] http://archive.ubuntu.com/ubuntu/#g' /etc/apt/sources.list
25 echo "deb [arch=amd64] http://storage.googleapis.com/bazel-apt stable jdk1.8" | sudo tee /etc/apt/s…
/external/cmockery/cmockery_0_1_2/packages/
Drpm.sh59 if [ -r /etc/issue ]
61 grep "Red Hat.*release 7" /etc/issue >/dev/null 2>&1 && destdir=rh7
62 grep "Red Hat.*release 8" /etc/issue >/dev/null 2>&1 && destdir=rh8
63 grep "Red Hat.*release 9" /etc/issue >/dev/null 2>&1 && destdir=rh9
64 if grep Fedora /etc/issue >/dev/null; then
65 destdir=fc`grep Fedora /etc/issue | cut -d' ' -f 4`;
/external/ltp/testcases/kernel/syscalls/syslog/
Dsyslog-lib.sh78 if grep -qri '^[^#].*load.*imjournal' /etc/rsyslog.conf /etc/rsyslog.d/ ; then
79 …systemd_journal=$(grep -Ehoi "^[^#].*(imjournal|workdirectory).*" -r /etc/rsyslog.conf /etc/rsyslo…
85 log_socket=$(grep -ho "^\$SystemLogSocketName .*" -r /etc/rsyslog.conf /etc/rsyslog.d/ | head -1)
/external/ppp/pppd/plugins/radius/etc/
Dradiusclient.conf21 nologin /etc/nologin
25 issue /usr/local/etc/radiusclient/issue
46 servers /usr/local/etc/radiusclient/servers
50 dictionary /usr/local/etc/radiusclient/dictionary
61 mapfile /usr/local/etc/radiusclient/port-id-map
/external/selinux/mcstrans/share/examples/urcsts-via-include/
DREADME10 cp -L setrans.conf /etc/selinux/mls/
11 cp -L secolor.conf /etc/selinux/mls/
12 rm -f /etc/selinux/mls/setrans.d/*
13 cp setrans.d/* /etc/selinux/mls/setrans.d
14 run_init /etc/init.d/mcstrans restart
/external/openssh/contrib/hpux/
Degd3 # EGD_LOG: EGD stdout and stderr log file (default /etc/opt/egd/egd.log)
9 # mkdir -p /etc/opt/egd
10 # chown egd:egd /etc/opt/egd
11 # chmod 711 /etc/opt/egd
14 EGD_ARGS='/etc/opt/egd/entropy'
DREADME18 # cp sshd /etc/rc.config.d
19 # chmod 444 /etc/rc.config.d/sshd
34 # mkdir -p /etc/opt/egd
35 # chown egd:egd /etc/opt/egd
36 # chmod 711 /etc/opt/egd
40 # cp egd /etc/rc.config.d
41 # chmod 444 /etc/rc.config.d/egd

12345678910>>...105