26 строки
1.2 KiB
Diff
26 строки
1.2 KiB
Diff
Prevent duplicities in hosts, which are read from NIS.
|
|
diff -up MigrationTools-47/migrate_all_nis_offline.sh.patch8 MigrationTools-47/migrate_all_nis_offline.sh
|
|
--- MigrationTools-47/migrate_all_nis_offline.sh.patch8 2008-08-29 09:09:19.000000000 +0200
|
|
+++ MigrationTools-47/migrate_all_nis_offline.sh 2008-08-29 09:09:19.000000000 +0200
|
|
@@ -67,7 +67,7 @@ ypcat $DOMFLAG services > $ETC_SERVICES
|
|
ypcat $DOMFLAG protocols > $ETC_PROTOCOLS
|
|
touch $ETC_FSTAB
|
|
ypcat $DOMFLAG rpc.byname > $ETC_RPC
|
|
-ypcat $DOMFLAG hosts > $ETC_HOSTS
|
|
+ypcat $DOMFLAG hosts.byaddr > $ETC_HOSTS
|
|
ypcat $DOMFLAG networks > $ETC_NETWORKS
|
|
#ypcat $DOMFLAG -k aliases > $ETC_ALIASES
|
|
|
|
diff -up MigrationTools-47/migrate_all_nis_online.sh.patch8 MigrationTools-47/migrate_all_nis_online.sh
|
|
--- MigrationTools-47/migrate_all_nis_online.sh.patch8 2008-08-29 09:09:19.000000000 +0200
|
|
+++ MigrationTools-47/migrate_all_nis_online.sh 2008-08-29 09:09:19.000000000 +0200
|
|
@@ -67,7 +67,7 @@ ypcat $DOMFLAG services > $ETC_SERVICES
|
|
ypcat $DOMFLAG protocols > $ETC_PROTOCOLS
|
|
touch $ETC_FSTAB
|
|
ypcat $DOMFLAG rpc.byname > $ETC_RPC
|
|
-ypcat $DOMFLAG hosts > $ETC_HOSTS
|
|
+ypcat $DOMFLAG hosts.byaddr > $ETC_HOSTS
|
|
ypcat $DOMFLAG networks > $ETC_NETWORKS
|
|
#ypcat $DOMFLAG -k aliases > $ETC_ALIASES
|
|
|