Re: POST_SCRIPT doesn't work...

Magnus Hagebris <[email protected]> Tue, 25 Jun 2002 08:34:03 -0700
Newsgroups gmane.linux.suse.alice
Message-ID <[email protected]>
Assuming you install the alice.rpm and all the rest during your 
installation... I screwed up on this once, forgot the alice.rpm and 
wondered why the post-installation stuff never executed....

I have a CD installation, whith a few files in the ADD-RPM directory. 
Those are excuted with the following block.

<SYS_APPLICATION_SCRIPTS>
/var/adm/mount/ADD-RPM/fix_start_fw.sh
/var/adm/mount/ADD-RPM/fix_etc_motd.sh
/var/adm/mount/ADD-RPM/fix_etc_resolv.sh
/var/adm/mount/ADD-RPM/fix_root_profile.sh
/var/adm/mount/ADD-RPM/update_system.sh
</SYS_APPLICATION_SCRIPTS> 
 


Yep, the CD is mounted to /var/adm/mount/ during the installation...

I think I tried the POST_SCRIPT tag, but never got that to work. I 
cannot remember why, but the reason might be the same with the way you 
are doing ...

Cheers,
  Magnus


Menzel, Heiko wrote:
> Does anybody know why my post_script in the yast.tcf file dosn't work???
> This is my yast.tcf-file:
> 
> <YAST_INFO>
> AUTO_FDISK       2
> FAST_INSTALL     2
> AUTO_LILO        2
> AUTO_NET         1
> AUTO_NAME        1
> AUTO_SERVICES    1
> INSTALL_WAIT     0
> ASK_BOOTDISK     0
> NO_ASK_SWAP      1
> END_MESSAGE      0
> END_STARTUP      0
> CHECK_DEPENDENCY 0
> POST_SCRIPT	 $I:/SCRIPTS/transport.sh
> MOUNT_RAMDISK	 /etc/lvmtab.d	10
> </YAST_INFO>
> 
> This is my transport.sh file:
> 
>   echo "This is a Test" > /var/text.txt
> 
> So I would like to get a file "test.txt" in var-directory but it seems not to work!
> Everything works fine (mount of /etc/lvmtab and so on) except the execution of the script!
> 
> Can anybody help me?
> 
> Regards from Germany
> Heiko Menzel
> 
> 




-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]