Changeset 41781


Ignore:
Timestamp:
Jan 20, 2018, 8:00:32 PM (3 years ago)
Author:
gost
Message:

[plugin] fix sispmctl install

Location:
ipk/source.arm/tools_sispmctl/CONTROL
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ipk/source.arm/tools_sispmctl/CONTROL/postinst

    r41768 r41781  
    66        mv "$PLUGINDIR/sispmctl.conf" "$PLUGINDIR/sispmctl.conf_org"
    77        cp /tmp/sispmctl.conf "$PLUGINDIR/sispmctl.conf"
    8         rm /tmp/isispmctl.conf
     8        rm /tmp/sispmctl.conf >/dev/null 2>&1
     9       
     10        mv "$PLUGINDIR/g1_script.sh" "$PLUGINDIR/bin/g1_script.sh_org" >/dev/null 2>&1
     11        mv "$PLUGINDIR/g2_script.sh" "$PLUGINDIR/bin/g2_script.sh_org" >/dev/null 2>&1
     12        mv "$PLUGINDIR/g3_script.sh" "$PLUGINDIR/bin/g3_script.sh_org" >/dev/null 2>&1
     13        mv "$PLUGINDIR/g4_script.sh" "$PLUGINDIR/bin/g4_script.sh_org" >/dev/null 2>&1
     14       
     15        cp /tmp/g1_script.sh "$PLUGINDIR/bin/g1_script.sh" >/dev/null 2>&1
     16        cp /tmp/g2_script.sh "$PLUGINDIR/bin/g2_script.sh" >/dev/null 2>&1
     17        cp /tmp/g3_script.sh "$PLUGINDIR/bin/g3_script.sh" >/dev/null 2>&1
     18        cp /tmp/g4_script.sh "$PLUGINDIR/bin/g4_script.sh" >/dev/null 2>&1
    919fi
    1020
  • ipk/source.arm/tools_sispmctl/CONTROL/preinst

    r41640 r41781  
    55if [ -e "$PLUGINDIR/sispmctl.conf" ]; then
    66        cp "$PLUGINDIR/sispmctl.conf" /tmp/sispmctl.conf
     7        cp "$PLUGINDIR/bin/g1_script.sh" /tmp/g1_script.sh >/dev/null 2>&1
     8        cp "$PLUGINDIR/bin/g2_script.sh" /tmp/g2_script.sh >/dev/null 2>&1
     9        cp "$PLUGINDIR/bin/g3_script.sh" /tmp/g3_script.sh >/dev/null 2>&1
     10        cp "$PLUGINDIR/bin/g4_script.sh" /tmp/g4_script.sh >/dev/null 2>&1
    711fi
    812
Note: See TracChangeset for help on using the changeset viewer.