"Fossies" - the Fresh Open Source Software Archive

Member "delegate9.9.13/setup-subin.sh" (27 Oct 2014, 272 Bytes) of package /linux/misc/old/delegate9.9.13.tar.gz:


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. Alternatively you can here view or download the uninterpreted source code file.

    1 #!/bin/sh
    2 
    3 SUBINS="dgpam dgbind dgchroot dgcpnod"
    4 sudo sh -c "chown root $SUBINS; chmod 6550 $SUBINS"
    5 if [ $? != 0 ]; then
    6   su root -c "chown root $SUBINS; chmod 6550 $SUBINS"
    7 fi
    8 if [ $? != 0 ]; then
    9   su root -c "chown root $SUBINS; chmod 6550 $SUBINS"
   10 fi
   11 ls -l $SUBINS