K2LL33D SHELL

 Apache/2.4.7 (Ubuntu)
 Linux sman1baleendah 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64
 uid=33(www-data) gid=33(www-data) groups=33(www-data)
 safemode : OFF
 MySQL: ON | Perl: ON | cURL: OFF | WGet: ON
  >  / var / lib / dpkg / info /
server ip : 104.21.89.46

your ip : 172.70.179.211

H O M E


Filename/var/lib/dpkg/info/wireless-tools.postinst
Size535
Permissionrwxr-xr-x
Ownerroot : root
Create time27-Apr-2025 09:56
Last modified03-May-2012 21:42
Last accessed06-Jul-2025 22:25
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
#!/bin/sh -e

mv_conffile() {
local OLDCONFFILE="$1"
local NEWCONFFILE="$2"

[ -e "$OLDCONFFILE" ] || return 0

echo "Preserving user changes to $NEWCONFFILE ..."
mv -f "$NEWCONFFILE" "$NEWCONFFILE".dpkg-new
mv -f "$OLDCONFFILE" "$NEWCONFFILE"
}

case "$1" in
configure)
if dpkg --compare-versions "$2" le "30~pre9-2"; then
mv_conffile "/etc/network/if-up.d/wireless-tools" "/etc/network/if-pre-up.d/wireless-tools"
mv_conffile "/etc/network/if-down.d/wireless-tools" "/etc/network/if-post-down.d/wireless-tools"
fi
esac