Ignore:
Timestamp:
May 15, 2011, 9:17:51 PM (9 years ago)
Author:
stappers
Message:

PostInstall can remove /etc/init.d/rcS.debian

File:
1 edited

Legend:

Unmodified
Added
Removed
  • debwrt/trunk/debian/rootfs/files/usr/sbin/PostInstall

    r256 r257  
    1818  # exit 0
    1919fi 
     20
     21if [ -f /etc/init.d/rcS ] ; then
     22  # the symbolic link to /etc/init.d/rcS.firstboot is gone
     23  if [ $( diff /etc/init.d/rcS /etc/init.d/rcS.debian 2>&1 | wc -l ) -gt 0 ]
     24  then
     25    : # do nothing
     26  else
     27    # they are equal
     28    rm /etc/init.d/rcS.debian
     29  fi
     30fi
    2031
    2132if [ -d /lib/modules/$( uname -r ) ] ; then
Note: See TracChangeset for help on using the changeset viewer.