"Fossies" - the Fresh Open Source Software Archive

Member "scponly-20110526/build_extras/arch/OpenBSD.post.sh" (20 Nov 2003, 331 Bytes) of package /linux/privat/old/scponly-20110526.tgz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 #
    2 #   this is a sample postsetup script for OpenBSD 3.1
    3 #
    4 #   an example of specific commands to use INSTEAD of the best guess
    5 #   in setup_chroot.sh
    6 #
    7 
    8 grep $targetuser /etc/master.passwd > $targetdir/etc/master.passwd
    9 pwd_mkdb -d "$targetdir/etc" $targetdir/etc/master.passwd
   10 rm -rf $targetdir/etc/master.passwd $targetdir/etc/spwd.db