Debian Codegraph @

debian/extra/udeb/post-base-installer.d/30ppp

raw symbols SCIP
1 #!/bin/shscip-shell filesystem . . `/bin/sh`. -e
2 # Configure ppp for the target system
3 # Note: netcfg takes care of general networking configuration files
4
5 # We can only do this after ppp has been installed to ensure correct permissions
6 apt-install ppp || truescip-shell system . . true.
7
8 if [scip-shell system . . `[`. ! -d /target/etc/ppp/peersscip-shell filesystem . . `/target/etc/ppp/peers`. ]; then
9 loggerscip-shell system . . logger. -t ppp-udeb "Error: directory /target/etc/ppp/peers does not exist"
10 loggerscip-shell system . . logger. -t ppp-udeb "There may have been an error installing ppp"
11 exit 1
12 fi
13
14 # We copy over already existing files, so permissions are preserved
15 cpscip-shell system . . cp. /etc/ppp/*-secrets /target/etc/ppp/scip-shell filesystem . . `/target/etc/ppp/`.
16 cpscip-shell system . . cp. /etc/ppp/peers/providerscip-shell filesystem . . `/etc/ppp/peers/provider`. /target/etc/ppp/peers/scip-shell filesystem . . `/target/etc/ppp/peers/`.