Changeset 881 for trunk/debian/rootfs


Ignore:
Timestamp:
Dec 24, 2016, 9:05:07 PM (3 years ago)
Author:
amain
Message:

rootfs: fix permissions / and /lib, fix subtarget in debwrt init script

Location:
trunk/debian/rootfs/files/all
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/debian/rootfs/files/all/etc/init.d/debwrt

    r880 r881  
    3939{
    4040    target=$(cat /lib/modules/debwrt.target 2>/dev/null)
    41     subtarget=$(cat /lib/modules/debwrt.sub-target 2>/dev/null)
     41    subtarget=$(cat /lib/modules/debwrt.subtarget 2>/dev/null)
    4242
    4343    if [ "" != "${target}" -a "" != "${subtarget}" ]
  • trunk/debian/rootfs/files/all/usr/sbin/PostInstall

    r880 r881  
    3333sed -i 's!^root:.*!root:$1$Rm/q9RCm$khpJ819vFteZqYNdf60wb1:14254:0:99999:7:::!' /etc/shadow
    3434
     35# Probably a (new) safety measure from debian, but currently simple
     36# programs like ping and dnsmasq (as nobody) fail to run will various
     37# file system access errors.
     38echo "I: Setting +rx on / and /lib"
     39chmod +rx /
     40chmod +rx /lib
     41
    3542echo -n "I: syncing disks...."
    3643sync
Note: See TracChangeset for help on using the changeset viewer.