Browse Source

and this one too

master
n 1 year ago
parent
commit
69e923aa28
2 changed files with 10 additions and 31 deletions
  1. 10
    11
      attic/kimsufi_postinstall.sh
  2. 0
    20
      postinstall.sh

+ 10
- 11
attic/kimsufi_postinstall.sh View File

@@ -1,21 +1,20 @@
1
-echo "mykey">>/root/.ssh/authorized_keys2
1
+echo "ssh-dss AAAAB3NzaC1kc3MAAACBAJYazE4nQN4m74E0OC9Ex863x+rRADt9hJRQAixNSMwNPAilfQ0/pt0z4UXZjuKC6aRhWeIQOkof3sXzy04S5QgQY5jAB5rH1J+06QiU6opFcd3IGtnoHST1HSY4FyV6EFbamm8ad/oNrlWCMXYSCHgMGdwmVYzoSjPcgJ7eTHz3AAAAFQDBZV2VSIQwKDjY9uWcNU9CVhe8WwAAAIApm2KB2zGxXwwR6tcuKFcP6uvvZAbTKT/nGDGgADncjFb8DC3MDzwetDA9N0kqtrdRzu4GYYsXOMyTyP/RJQwF4rPF7PKFaB70F0a3knPlZX09ML8EE9L3BD0RvPEfLWY3OzZ9SHWcfEWphgIX9WpTUaWdmqSO0Txii/8FU2yb7gAAAIA7Y/zsTbNO/FNunGSBOg+4NqvbkU6cLuVDty81p7wXlfazhtKPzP5R8L1ReaKavGABwMzCi/4S/QnHLP2C/UW6nUi5Fh53PPRZI+6mam2WIlLWYv5eQZBEDLsxQsk/htSomu8oEilXODfDo7qbRQ5rKVcN5VmKaxIqoEtTN1bWjQ== n@big">>/root/.ssh/authorized_keys2
2 2
 umount /servers/ 
3
-#zpool create -f servers ada0s1e 
4 3
 zpool create -f servers ad4s1e 
5 4
 zfs create servers/ftp 
6 5
 zfs create servers/web
7 6
 zfs create servers/mail
8 7
 zfs create servers/db 
9 8
 zfs create servers/dns 
10
-#fetch ftp://ftp1.freebsd.org/pub/FreeBSD/releases/amd64/8.2-RELEASE/src.txz
11
-#fetch ftp://ftp1.freebsd.org/pub/FreeBSD/releases/amd64/8.2-RELEASE/ports.txz
12
-#tar -C / -xvzf src.txz
13
-#tar -C / -xvzf ports.txz
14
-#cd /usr/ports/shells/zsh/ && make -DBATCH clean install
15
-#cd /usr/ports/security/ipsec-tools/ && make -DBATCH clean install
16
-#cd /usr/ports/editors/vim-lite/ && make -DBATCH clean install
17
-#cd /usr/ports/sysutils/rdiff-backup/ && make -DBATCH clean install
18
-#cd /usr/ports/sysutils/ezjail/ && make -DBATCH clean install
9
+fetch ftp://ftp1.freebsd.org/pub/FreeBSD/releases/amd64/8.2-RELEASE/src.txz
10
+fetch ftp://ftp1.freebsd.org/pub/FreeBSD/releases/amd64/8.2-RELEASE/ports.txz
11
+tar -C / -xvzf src.txz
12
+tar -C / -xvzf ports.txz
13
+cd /usr/ports/shells/zsh/ && make -DBATCH clean install
14
+cd /usr/ports/security/ipsec-tools/ && make -DBATCH clean install
15
+cd /usr/ports/editors/vim-lite/ && make -DBATCH clean install
16
+cd /usr/ports/sysutils/rdiff-backup/ && make -DBATCH clean install
17
+cd /usr/ports/sysutils/ezjail/ && make -DBATCH clean install
19 18
 pkg_add -r zsh ipsec-tools rdiff-backup ezjail openvpn 3proxy
20 19
 print OK
21 20
 return OK

+ 0
- 20
postinstall.sh View File

@@ -1,20 +0,0 @@
1
-echo "ssh-dss AAAAB3NzaC1kc3MAAACBAJYazE4nQN4m74E0OC9Ex863x+rRADt9hJRQAixNSMwNPAilfQ0/pt0z4UXZjuKC6aRhWeIQOkof3sXzy04S5QgQY5jAB5rH1J+06QiU6opFcd3IGtnoHST1HSY4FyV6EFbamm8ad/oNrlWCMXYSCHgMGdwmVYzoSjPcgJ7eTHz3AAAAFQDBZV2VSIQwKDjY9uWcNU9CVhe8WwAAAIApm2KB2zGxXwwR6tcuKFcP6uvvZAbTKT/nGDGgADncjFb8DC3MDzwetDA9N0kqtrdRzu4GYYsXOMyTyP/RJQwF4rPF7PKFaB70F0a3knPlZX09ML8EE9L3BD0RvPEfLWY3OzZ9SHWcfEWphgIX9WpTUaWdmqSO0Txii/8FU2yb7gAAAIA7Y/zsTbNO/FNunGSBOg+4NqvbkU6cLuVDty81p7wXlfazhtKPzP5R8L1ReaKavGABwMzCi/4S/QnHLP2C/UW6nUi5Fh53PPRZI+6mam2WIlLWYv5eQZBEDLsxQsk/htSomu8oEilXODfDo7qbRQ5rKVcN5VmKaxIqoEtTN1bWjQ== n@big">>/root/.ssh/authorized_keys2
2
-umount /servers/ 
3
-zpool create -f servers ad4s1e 
4
-zfs create servers/ftp 
5
-zfs create servers/web
6
-zfs create servers/mail
7
-zfs create servers/db 
8
-zfs create servers/dns 
9
-fetch ftp://ftp1.freebsd.org/pub/FreeBSD/releases/amd64/8.2-RELEASE/src.txz
10
-fetch ftp://ftp1.freebsd.org/pub/FreeBSD/releases/amd64/8.2-RELEASE/ports.txz
11
-tar -C / -xvzf src.txz
12
-tar -C / -xvzf ports.txz
13
-cd /usr/ports/shells/zsh/ && make -DBATCH clean install
14
-cd /usr/ports/security/ipsec-tools/ && make -DBATCH clean install
15
-cd /usr/ports/editors/vim-lite/ && make -DBATCH clean install
16
-cd /usr/ports/sysutils/rdiff-backup/ && make -DBATCH clean install
17
-cd /usr/ports/sysutils/ezjail/ && make -DBATCH clean install
18
-pkg_add -r zsh ipsec-tools rdiff-backup ezjail openvpn 3proxy
19
-print OK
20
-return OK

Loading…
Cancel
Save