File: reset.yml

package info (click to toggle)
boxer-data 10.10.5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,572 kB
  • sloc: makefile: 44; sh: 2
file content (15 lines) | stat: -rw-r--r-- 389 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
classes:
  - Console.base
parameters:
  doc:
    console:
      tweak:
        - reset root account rcfiles from skeleton
  tweak:
    - >
      files=".bash_logout .bashrc .profile";\
       for file in $files; do \
        cp -f "/target/etc/skel/$file" "/target/root/$file";\
       done;\
       echo '' >> /target/root/.profile;\
       echo 'mesg n || true' >> /target/root/.profile