source: client/boot-tools/clientstructure/root/ConfFS.sh @ cceeb84

Last change on this file since cceeb84 was b1ccf9b, checked in by adv <adv@…>, 14 years ago

version1.0 renombrando ogclient boot-tools

git-svn-id: https://opengnsys.es/svn/branches/version1.0@1764 a21b9725-9963-47de-94b9-378ad31fedc9

  • Property mode set to 100755
File size: 585 bytes
Line 
1#!/bin/bash
2dpkg-divert --local --rename --add /sbin/initctl
3ln -s /bin/true /sbin/initctl
4#mv /etc/fstab /etc/fstab.original 2>/dev/null
5#mv /etc/mtab /etc/mtab.original 2>/dev/null
6
7#TODO: fichero etc/hosts
8#TODO: fichero etc/resolv.conf
9echo "ogClient" > /etc/hostname
10
11#export PASSROOT=og
12#dpkg-reconfigure passwd
13#echo "root:$PASSROOT" | chpasswd
14
15
16#for i in pts/0 pts/1 pts/2 pts/3 do
17#
18#
19#done
20#TODO: introducir mas consoluas para el acceso como root.
21echo "pts/0" >> /etc/securetty
22echo "pts/1" >> /etc/securetty
23echo "pts/2" >> /etc/securetty
24echo "pts/3" >> /etc/securetty
Note: See TracBrowser for help on using the repository browser.